#!/bin/zsh STATUS=$(</tmp/dnd_status) if [ $(</tmp/dnd_status) = "off" ]; then notify-send.py a --hint boolean:deadd-notification-center:true \ string:type:pausePopups echo "on" > /tmp/dnd_status elif [ $(</tmp/dnd_status) = "on" ]; then notify-send.py a --hint boolean:deadd-notification-center:true \ string:type:unpausePopups echo "off" > /tmp/dnd_status fi