summaryrefslogtreecommitdiff
path: root/.a
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
parent40f71bb1f0301fcecb13e935029f99fc912f3002 (diff)
downloaddotfiles-0a01d8c761d5027bf6fe8ee812e70e3d8636c8b8.tar
dotfiles-0a01d8c761d5027bf6fe8ee812e70e3d8636c8b8.tar.gz
dotfiles-0a01d8c761d5027bf6fe8ee812e70e3d8636c8b8.zip
[.a] Replaced double brackets with test
Diffstat (limited to '.a')
-rwxr-xr-x.a/dunst-toggler-applet.sh4
-rwxr-xr-x.a/toggle-repo.sh2
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