sxhkd: mute mic more immediately

master
tiyn 12 months ago
parent 2527a36c4e
commit 95b12ad1cb

@ -1,8 +1,8 @@
#!/bin/sh #!/bin/sh
if amixer get Capture | tail -2 | grep -q '\[on\]'; then if amixer get Capture | tail -2 | grep -q '\[on\]'; then
paplay ~/.local/bin/etc/sxhkd/audio/mic_muted.wav
lmc mute lmc mute
lmc undeaf lmc undeaf
paplay ~/.local/bin/etc/sxhkd/audio/mic_muted.wav
else else
lmc unmute lmc unmute
lmc undeaf lmc undeaf

Loading…
Cancel
Save