From 07a240fa8a5de1aa6659ead48079b770801101c9 Mon Sep 17 00:00:00 2001 From: SinTan1729 Date: Sat, 15 Jan 2022 02:11:25 -0600 Subject: [PATCH] Small edits --- hdmi_sound_toggle.sh | 2 -- makebk | 1 - usb-autosuspend-fix | 1 - 3 files changed, 4 deletions(-) diff --git a/hdmi_sound_toggle.sh b/hdmi_sound_toggle.sh index cfe9133..9c5ca8d 100644 --- a/hdmi_sound_toggle.sh +++ b/hdmi_sound_toggle.sh @@ -5,7 +5,6 @@ # 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" # Then run 'udevadm control --reload-rules' and reboot -# If run manually, make sure to run it as root export PATH=/usr/bin @@ -32,4 +31,3 @@ for OUTPUT in $(cd "$CARD_PATH" && echo card*); do done echo selecting output $AUDIO_OUTPUT sudo -u "$USER_NAME" pactl --server "$PULSE_SERVER" set-card-profile 0 output:$AUDIO_OUTPUT+input:analog-stereo - diff --git a/makebk b/makebk index 1ad822c..e3c2eb4 100644 --- a/makebk +++ b/makebk @@ -6,4 +6,3 @@ if [[ -n "$1" ]]; then cp "$1"{,.bak} fi - diff --git a/usb-autosuspend-fix b/usb-autosuspend-fix index 7d28b95..715d5ec 100644 --- a/usb-autosuspend-fix +++ b/usb-autosuspend-fix @@ -9,4 +9,3 @@ echo 'on' > '/sys/bus/usb/devices/1-3/power/control' # also added a fix for resolvconf auto resetting resolvconf -u -