Fixed formatting of mute-unmute.
This commit is contained in:
parent
67c5ce5803
commit
7bffcda3b9
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user