Small edits

This commit is contained in:
Sayantan Santra 2022-01-15 02:11:25 -06:00
parent 63edb97a97
commit 07a240fa8a
3 changed files with 0 additions and 4 deletions

View File

@ -5,7 +5,6 @@
# Then create the file /etc/udev/rules.d/99-hdmi_sound.rules with the following content : # Then create the file /etc/udev/rules.d/99-hdmi_sound.rules with the following content :
# KERNEL=="card0", SUBSYSTEM=="drm", ACTION=="change", RUN+="/usr/local/bin/hdmi_sound_toggle.sh" # KERNEL=="card0", SUBSYSTEM=="drm", ACTION=="change", RUN+="/usr/local/bin/hdmi_sound_toggle.sh"
# Then run 'udevadm control --reload-rules' and reboot # Then run 'udevadm control --reload-rules' and reboot
# If run manually, make sure to run it as root
export PATH=/usr/bin export PATH=/usr/bin
@ -32,4 +31,3 @@ for OUTPUT in $(cd "$CARD_PATH" && echo card*); do
done done
echo selecting output $AUDIO_OUTPUT echo selecting output $AUDIO_OUTPUT
sudo -u "$USER_NAME" pactl --server "$PULSE_SERVER" set-card-profile 0 output:$AUDIO_OUTPUT+input:analog-stereo sudo -u "$USER_NAME" pactl --server "$PULSE_SERVER" set-card-profile 0 output:$AUDIO_OUTPUT+input:analog-stereo

1
makebk
View File

@ -6,4 +6,3 @@ if [[ -n "$1" ]];
then then
cp "$1"{,.bak} cp "$1"{,.bak}
fi fi

View File

@ -9,4 +9,3 @@ echo 'on' > '/sys/bus/usb/devices/1-3/power/control'
# also added a fix for resolvconf auto resetting # also added a fix for resolvconf auto resetting
resolvconf -u resolvconf -u