From fdcd93a83cc66b2b475b76beb5f87e50e0483e9f Mon Sep 17 00:00:00 2001 From: Syndamia Date: Tue, 19 Jul 2022 11:33:00 +0300 Subject: Moved scripts to their own folder and renamed .cfgs folder to .confs --- dunst-toggler-applet.sh | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100755 dunst-toggler-applet.sh (limited to 'dunst-toggler-applet.sh') diff --git a/dunst-toggler-applet.sh b/dunst-toggler-applet.sh deleted file mode 100755 index e9f253e..0000000 --- a/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" -- cgit v1.2.3