1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-03-19 10:17:44 +01:00

11 lines
245 B
Plaintext
Raw Normal View History

#!/bin/sh
if amixer get Capture | tail -2 | grep -q '\[on\]'; then
2023-11-11 16:26:05 +01:00
paplay ~/.local/bin/etc/sxhkd/audio/mic_muted.wav
lmc mute
lmc undeaf
else
lmc unmute
lmc undeaf
2023-11-11 16:26:05 +01:00
paplay ~/.local/bin/etc/sxhkd/audio/mic_activated.wav
fi