From 5c85dcdbf6434a06d261a4c1405644b21eee7301 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Mon, 14 Feb 2022 20:18:44 +0100 Subject: [PATCH] mute correct source/sink when locking --- .bin/screenlock.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.bin/screenlock.sh b/.bin/screenlock.sh index 1699d56..0ac138f 100755 --- a/.bin/screenlock.sh +++ b/.bin/screenlock.sh @@ -5,8 +5,8 @@ tmpbg="/tmp/lock_$(whoami).png" xset s noblank xset s 90 10 -pactl set-sink-mute alsa_output.pci-0000_00_1f.3.analog-stereo 1 -pactl set-source-mute alsa_input.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_07_00.6.HiFi__hw_acp__source 1 i3lock -e -t -i /home/kunsi/Pictures/laptop_unbenutzbar.png