diff options
| -rwxr-xr-x | .a/dunst-toggler-applet.sh | 4 | ||||
| -rwxr-xr-x | .a/toggle-repo.sh | 2 |
2 files changed, 3 insertions, 3 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 diff --git a/.a/toggle-repo.sh b/.a/toggle-repo.sh index ffbcb57..638bde8 100755 --- a/.a/toggle-repo.sh +++ b/.a/toggle-repo.sh @@ -1,6 +1,6 @@ #!/bin/bash -if [[ -d ".git" ]]; then +if [ -d ".git" ]; then sudo mv .git .git.disabled else sudo mv .git.disabled .git |
