mute correct source/sink when locking

This commit is contained in:
Franzi 2022-02-14 20:18:44 +01:00
parent 0599466e2c
commit 5c85dcdbf6
Signed by untrusted user: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -5,8 +5,8 @@ tmpbg="/tmp/lock_$(whoami).png"
xset s noblank xset s noblank
xset s 90 10 xset s 90 10
pactl set-sink-mute alsa_output.pci-0000_00_1f.3.analog-stereo 1 pactl set-sink-mute alsa_output.pci-0000_07_00.6.HiFi__hw_Generic_1__sink 1
pactl set-source-mute alsa_input.pci-0000_00_1f.3.analog-stereo 1 pactl set-source-mute alsa_input.pci-0000_07_00.6.HiFi__hw_acp__source 1
i3lock -e -t -i /home/kunsi/Pictures/laptop_unbenutzbar.png i3lock -e -t -i /home/kunsi/Pictures/laptop_unbenutzbar.png