2 timeout=5000 # 5 seconds
3 touchfile=/opt/clearscm/data/shh
5 # This just toggles the creation of the /opt/clearscm/bin/shh file
6 if [ -f $touchfile ]; then
8 cp ~/.icons/ShhOff.png ~/.icons/Shh.png
9 notify-send -t $timeout "Announcements turned on"
12 cp ~/.icons/ShhOn.png ~/.icons/Shh.png
13 # Note that a -t 0 will keep the notification up. This way we can
14 # be visually reminded that we are not receiving audio announcements
15 notify-send -t 0 "Announcements turned off"