Fixed formatting of mute-unmute.

This commit is contained in:
jticket committed 2022-11-30 09:39:06 -07:00
1 parent 67c5ce5803
commit 7bffcda3b9
1 file changed
+5 -5
+5 -5
View File
@@ -1,9 +1,9 @@
#!/bin/bash #!/bin/bash
if [ $(pamixer --get-mute) = false ]; then if [ $(pamixer --get-mute) = false ]; then
spd-say -P important -Cw 'Muting!' spd-say -P important -Cw 'Muting!'
pamixer -t pamixer -t
else else
pamixer -t pamixer -t
play -qnG synth 0.05 sin 440 play -qnG synth 0.05 sin 440
spd-say -P important -Cw 'Unmuted!' spd-say -P important -Cw 'Unmuted!'
fi fi