major springcleaning
This commit is contained in:
12
.local/bin/statusbar/sb-dunststatus
Executable file
12
.local/bin/statusbar/sb-dunststatus
Executable file
@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
APPOINTMENTS_SIGNAL=8
|
||||
if [ "$( dunstctl is-paused )" = "true" ]; then
|
||||
printf '🔕\n'
|
||||
if [ ! -f /tmp/nodunst ]; then
|
||||
touch /tmp/nodunst
|
||||
fi
|
||||
else
|
||||
printf '\n'
|
||||
rm -f /tmp/nodunst
|
||||
fi
|
||||
pkill -RTMIN+$APPOINTMENTS_SIGNAL dwmblocks #update appointments after file has been created/deleted
|
Reference in New Issue
Block a user