aboutsummaryrefslogtreecommitdiff
path: root/scripts/dnd
blob: 92722f7ff77d80a414104e5a5710a4095e168ae3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/zsh
STATUS=$(</tmp/dnd_status)

if [ $(</tmp/dnd_status) = "off" ]; then
	notify-send.py a --hint boolean:deadd-notification-center:true \
                 string:type:pausePopups
	echo "on" > /tmp/dnd_status
elif [ $(</tmp/dnd_status) = "on" ]; then
	notify-send.py a --hint boolean:deadd-notification-center:true \
                 string:type:unpausePopups
	echo "off" > /tmp/dnd_status
fi