Notification toggler

This commit is contained in:
Salman Abedin 2020-06-05 02:53:49 +06:00
parent 32e0623424
commit 215263a677

11
.local/bin/toggle-notify Executable file
View File

@ -0,0 +1,11 @@
#!/usr/bin/env sh
pidof dunst &&
notify-send -t 1000 '🔕 Do not disturb' &&
sleep 1 &&
killall dunst &&
exit
dunst &
sleep 0.5
notify-send -t 1000 '🔔 Disturb all you want'