sxhkd: mute mic more immediately

This commit is contained in:
2024-01-08 21:13:37 +01:00
parent 2527a36c4e
commit 95b12ad1cb
+1 -1
View File
@@ -1,8 +1,8 @@
#!/bin/sh
if amixer get Capture | tail -2 | grep -q '\[on\]'; then
paplay ~/.local/bin/etc/sxhkd/audio/mic_muted.wav
lmc mute
lmc undeaf
paplay ~/.local/bin/etc/sxhkd/audio/mic_muted.wav
else
lmc unmute
lmc undeaf