Added a mute-unmute script and binding to alt+mute key
This commit is contained in:
8
scripts/mute-unmute.sh
Executable file
8
scripts/mute-unmute.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
if [ $(pamixer --get-mute) = false ]; then
|
||||
spd-say -Cw 'muting'
|
||||
pamixer -t
|
||||
else
|
||||
pamixer -t
|
||||
spd-say -Cw 'unmuted'
|
||||
fi
|
Reference in New Issue
Block a user