diff options
Diffstat (limited to 'scripts/dunst-toggler-applet.sh')
| -rwxr-xr-x | scripts/dunst-toggler-applet.sh | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/scripts/dunst-toggler-applet.sh b/scripts/dunst-toggler-applet.sh deleted file mode 100755 index e9f253e..0000000 --- a/scripts/dunst-toggler-applet.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/bash - -function update { - while :; do - curr_status=$(dunstctl is-paused) - - if [[ "$curr_status" != "$prev_status" ]]; then - prev_status=$curr_status - - if [[ "$curr_status" == "true" ]]; then - echo icon:/usr/share/icons/tabler-icon-bell-off.png - echo tooltip:Notifications OFF - else - echo icon:/usr/share/icons/tabler-icon-bell.png - echo tooltip:Notifications ON - fi - fi - - sleep 0.2 - done -} - -update | \ -yad --notification \ - --listen \ - --command="dunstctl set-paused toggle" |
