From 0a01d8c761d5027bf6fe8ee812e70e3d8636c8b8 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Thu, 30 Mar 2023 19:45:16 +0300 Subject: [.a] Replaced double brackets with test --- .a/dunst-toggler-applet.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.a/dunst-toggler-applet.sh') diff --git a/.a/dunst-toggler-applet.sh b/.a/dunst-toggler-applet.sh index e9f253e..a8ef7ae 100755 --- a/.a/dunst-toggler-applet.sh +++ b/.a/dunst-toggler-applet.sh @@ -4,10 +4,10 @@ function update { while :; do curr_status=$(dunstctl is-paused) - if [[ "$curr_status" != "$prev_status" ]]; then + if [ "$curr_status" != "$prev_status" ]; then prev_status=$curr_status - if [[ "$curr_status" == "true" ]]; then + if [ "$curr_status" == "true" ]; then echo icon:/usr/share/icons/tabler-icon-bell-off.png echo tooltip:Notifications OFF else -- cgit v1.2.3