From 9697b41a458c07f41d923b32d959e73a109dfee6 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Sun, 24 Oct 2021 15:00:22 +0300 Subject: scripts: use new dunst interface to pause --- .config/polybar/notification_pause.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to '.config/polybar/notification_pause.sh') diff --git a/.config/polybar/notification_pause.sh b/.config/polybar/notification_pause.sh index 1df1bd6..9bf6724 100755 --- a/.config/polybar/notification_pause.sh +++ b/.config/polybar/notification_pause.sh @@ -1,8 +1,6 @@ #!/usr/bin/env bash -TOGGLE=$HOME/.local/share/.pause_notifications - -if [ ! -e $TOGGLE ]; then +if ! $(dunstctl is-paused); then echo else printf "" -- cgit v1.2.3-70-g09d2