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