mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-10-10 03:21:16 +02:00
tools: restructured
This commit is contained in:
10
.local/bin/etc/sxhkd/audio/sound_toggle
Executable file
10
.local/bin/etc/sxhkd/audio/sound_toggle
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
if amixer get Master | tail -2 | grep -q '\[on\]'; then
|
||||
notify-send -u low 'sxhkd' 'Sound muted\nMicrophone muted'
|
||||
lmc mute
|
||||
lmc deaf
|
||||
else
|
||||
lmc mute
|
||||
lmc undeaf
|
||||
paplay ~/.local/bin/tools/audio/sound_resumed.wav
|
||||
fi
|
Reference in New Issue
Block a user