1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-03-26 04:57:45 +01:00

sxhkd: mute mic more immediately

This commit is contained in:
tiyn 2024-01-08 21:13:37 +01:00
parent 2527a36c4e
commit 95b12ad1cb

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