dotfiles/.config/i3/scripts/togglenotify.sh
Gregor Feierabend 6364afe840 config update
2021-07-10 08:39:18 +02:00

13 lines
208 B
Bash
Executable file

#!/bin/bash
if test -e /tmp/dunstpause; then
dunstctl set-paused toggle;
else
dunstctl set-paused true
touch /tmp/dunstpause;
fi
if `dunstctl is-paused`; then
echo do not disturb
else
echo available
fi