Fixed formatting of mute-unmute.

This commit is contained in:
Jeremiah Ticket 2022-11-30 09:39:06 -07:00
parent 67c5ce5803
commit 7bffcda3b9

View File

@ -1,9 +1,9 @@
#!/bin/bash
if [ $(pamixer --get-mute) = false ]; then
spd-say -P important -Cw 'Muting!'
pamixer -t
spd-say -P important -Cw 'Muting!'
pamixer -t
else
pamixer -t
play -qnG synth 0.05 sin 440
spd-say -P important -Cw 'Unmuted!'
pamixer -t
play -qnG synth 0.05 sin 440
spd-say -P important -Cw 'Unmuted!'
fi