mirror of
https://github.com/SinTan1729/random.git
synced 2025-02-05 14:12:38 -06:00
Small edits
This commit is contained in:
parent
63edb97a97
commit
07a240fa8a
3 changed files with 0 additions and 4 deletions
|
@ -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
1
makebk
|
@ -6,4 +6,3 @@ if [[ -n "$1" ]];
|
||||||
then
|
then
|
||||||
cp "$1"{,.bak}
|
cp "$1"{,.bak}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue