mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
Notification toggler
This commit is contained in:
parent
32e0623424
commit
215263a677
11
.local/bin/toggle-notify
Executable file
11
.local/bin/toggle-notify
Executable 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'
|
||||
Loading…
x
Reference in New Issue
Block a user