]> danix's work - my-dotfiles.git/blob - home-bin/dunst-snooze.sh
59bf6b02f40a52288157aa348706e786bcedc6e7
[my-dotfiles.git] / home-bin / dunst-snooze.sh
1 #!/bin/sh
2
3 case "$1" in
4 --toggle)
5 dunstctl set-paused toggle
6 ;;
7 *)
8 if [ "$(dunstctl is-paused)" = "true" ]; then
9 echo "  "
10 else
11 echo "  "
12 fi
13 ;;
14 esac