Fixed formatting of mute-unmute.
This commit is contained in:
1 parent
67c5ce5803
commit
7bffcda3b9
1 file changed
+5
-5
@@ -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
|
||||
Reference in new issue
Block a user