diff options
Diffstat (limited to '.config/polybar/notification_pause.sh')
-rwxr-xr-x | .config/polybar/notification_pause.sh | 4 |
1 files changed, 1 insertions, 3 deletions
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 @@ | |||
1 | #!/usr/bin/env bash | 1 | #!/usr/bin/env bash |
2 | 2 | ||
3 | TOGGLE=$HOME/.local/share/.pause_notifications | 3 | if ! $(dunstctl is-paused); then |
4 | |||
5 | if [ ! -e $TOGGLE ]; then | ||
6 | echo | 4 | echo |
7 | else | 5 | else |
8 | printf "" | 6 | printf "" |