summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2022-12-29 05:03:18 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2022-12-29 05:03:18 +0530
commit6e8fd6eab432ef12c011737061fd698e87727e54 (patch)
tree1196e658d1b28ac9f80b0e9b5c2135b3a66fa196
parent98009443722b7b292c6e2f3669da6cb11120bf5d (diff)
setbg - using double quotes for test expression
-rwxr-xr-x.scripts/setbg5
1 files changed, 2 insertions, 3 deletions
diff --git a/.scripts/setbg b/.scripts/setbg
index 0878b7b..657d071 100755
--- a/.scripts/setbg
+++ b/.scripts/setbg
@@ -15,9 +15,8 @@ echo "Generating pywal color schemes..."
wal -n -i "$wall" >/dev/null &&
echo "dwm reading Xresources color values at runtime"
xdotool key super+F5
-[ -n $(pgrep "telegram") ] && r="-r"
+[ -n "$(pgrep "telegram")" ] && r="-r"
$HOME/.local/usr/wal-telegram/wal-telegram "$r" 2> /dev/null
ln -sf ~/.cache/wal/dunstrc ~/.config/dunst/dunstrc
-pkill dunst &&
-dunst 2> /dev/null &
+pkill dunst && dunst 2> /dev/null &
echo "^_^ Enjoy your new look!!!"