mirror of https://github.com/tiyn/dotfiles
parent
7756ef5d6d
commit
12cb200ba8
@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
notify-send -u low "dunst" "Do not disturb started"
|
||||
dunstctl history-clear
|
||||
dunstctl rule dnd_low enable
|
||||
dunstctl rule dnd_normal enable
|
||||
dunstctl rule sound_normal disable
|
@ -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"
|
Loading…
Reference in new issue