13 lines
208 B
Bash
Executable file
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
|