summaryrefslogtreecommitdiff
path: root/.a/dunst-toggler-applet.sh
diff options
context:
space:
mode:
authorSyndamia <kamen@syndamia.com>2023-03-30 19:45:16 +0300
committerSyndamia <kamen@syndamia.com>2023-03-30 19:45:16 +0300
commit0a01d8c761d5027bf6fe8ee812e70e3d8636c8b8 (patch)
treed420d5a3c5c0bcab22f4597e4fcfcbcb8b054370 /.a/dunst-toggler-applet.sh
parent40f71bb1f0301fcecb13e935029f99fc912f3002 (diff)
downloaddotfiles-0a01d8c761d5027bf6fe8ee812e70e3d8636c8b8.tar
dotfiles-0a01d8c761d5027bf6fe8ee812e70e3d8636c8b8.tar.gz
dotfiles-0a01d8c761d5027bf6fe8ee812e70e3d8636c8b8.zip
[.a] Replaced double brackets with test
Diffstat (limited to '.a/dunst-toggler-applet.sh')
-rwxr-xr-x.a/dunst-toggler-applet.sh4
1 files changed, 2 insertions, 2 deletions
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