mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-03-29 06:27:46 +01:00
sxhkd: mute mic more immediately
This commit is contained in:
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…
x
Reference in New Issue
Block a user