#!/bin/sh pgrep dunst >/dev/null if [ $? -eq 0 ]; then echo Notifications On if [ ! -z $1 ]; then ps -ef|grep -i dunst|grep -v grep|awk '{print $2}'|xargs kill -9 fi else echo Quiet Mode if [ ! -z $1 ]; then dunst -config ~/.config/dunst & fi fi