From c1b81fa33342c9788f03954e1c3dda1ad79c650a Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sat, 3 May 2025 22:09:45 +0300 Subject: feat: Remove dunst-toggler-applet This is superseeded by https://gitlab.com/Syndamia/dunst-applet --- .scripts/autostart | 2 +- .scripts/dunst-toggler-applet | 27 --------------------------- 2 files changed, 1 insertion(+), 28 deletions(-) delete mode 100755 .scripts/dunst-toggler-applet 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" -- cgit v1.3.1-26-gb76a