diff options
2 files changed, 1 insertions, 28 deletions
| -rwxr-xr-x | .scripts/autostart | 2 | ||||
| -rwxr-xr-x | .scripts/dunst-toggler-applet | 27 |
diff --git a/.scripts/autostart b/.scripts/autostart index df2513c..bee1aa4 100755 --- a/.scripts/autostart +++ b/.scripts/autostart @@ -25,7 +25,7 @@ fi pnmixer & # volume applet nm-applet & # network applet -~/.scripts/dunst-toggler-applet & # notification toggler +dunst-applet & # notification toggler https://gitlab.com/Syndamia/dunst-applet flameshot & # screenshot utility redshift-gtk & # screen color temperature changer diff --git a/.scripts/dunst-toggler-applet b/.scripts/dunst-toggler-applet deleted file mode 100755 index a4061a9..0000000 --- a/.scripts/dunst-toggler-applet +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/bash - -function update { - prev_status="" - 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" |
