mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-10-09 19:11:15 +02:00
dunst: added dnd mode
This commit is contained in:
10
.local/bin/tools/dnd_stop
Executable file
10
.local/bin/tools/dnd_stop
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
dunstctl rule dnd_low disable
|
||||
dunstctl rule dnd_normal disable
|
||||
dunstctl rule sound_normal enable
|
||||
hist_size=$(dunstctl history | jq '.data[0] | length')
|
||||
for i in `seq $hist_size`; do
|
||||
dunstctl history-pop
|
||||
done
|
||||
notify-send -u low "dunst" "Do not disturb stopped"
|
Reference in New Issue
Block a user