summaryrefslogtreecommitdiffstats
path: root/.local
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-03-13 12:31:19 -0400
committerLuke Smith <luke@lukesmith.xyz>2020-03-13 12:31:19 -0400
commit6bfbabc9c6e190ef9a065185931e5b1a12307ec3 (patch)
tree86a5f362832f2f3b70228a30668e8e84d6818ee2 /.local
parent4ab86b5ff8cdd0fdc7df7f8f5ffeb9adc148279b (diff)
downloadeibhear-6bfbabc9c6e190ef9a065185931e5b1a12307ec3.tar.gz
eibhear-6bfbabc9c6e190ef9a065185931e5b1a12307ec3.tar.zst
eibhear-6bfbabc9c6e190ef9a065185931e5b1a12307ec3.zip
suppress wal error if not detected
Diffstat (limited to '.local')
-rwxr-xr-x.local/bin/setbg2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/setbg b/.local/bin/setbg
index 0927988..87096a6 100755
--- 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;