2022-11-24 10:39:12 -05:00
|
|
|
#!/bin/bash
|
|
|
|
if [ $(pamixer --get-mute) = false ]; then
|
2022-11-26 20:27:14 -05:00
|
|
|
spd-say -P important -Cw 'Muting!'
|
2022-11-24 10:39:12 -05:00
|
|
|
pamixer -t
|
|
|
|
else
|
|
|
|
pamixer -t
|
2022-11-26 22:51:54 -05:00
|
|
|
play -qnG synth 0.05 sin 440
|
2022-11-26 20:27:14 -05:00
|
|
|
spd-say -P important -Cw 'Unmuted!'
|
2022-11-24 10:39:12 -05:00
|
|
|
fi
|