commit 6bfbabc9c6e190ef9a065185931e5b1a12307ec3
parent 4ab86b5ff8cdd0fdc7df7f8f5ffeb9adc148279b
Author: Luke Smith <luke@lukesmith.xyz>
Date: Fri, 13 Mar 2020 12:31:19 -0400
suppress wal error if not detected
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.local/bin/setbg b/.local/bin/setbg
@@ -8,7 +8,7 @@
[ ! -z "$1" ] && cp "$1" ~/.config/wall.png && notify-send -i "$HOME/.config/wall.png" "Wallpaper changed."
# If pywal is installed, use it.
-type wal >/dev/null && { wal -c ;
+type wal >/dev/null 2>&1 && { wal -c ;
wal -s -i ~/.config/wall.png -o ~/.config/wal/postrun;
xsetroot -name "fsignal:xrdb";
killall dwmblocks;