Added a mute-unmute script and binding to alt+mute key

This commit is contained in:
2022-11-24 08:39:12 -07:00
parent ebaa989d7e
commit 5d719984eb
2 changed files with 9 additions and 0 deletions

8
scripts/mute-unmute.sh Executable file
View 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