suppress wal error if not detected

This commit is contained in:
Luke Smith 2020-03-13 12:31:19 -04:00
parent 4ab86b5ff8
commit 6bfbabc9c6
No known key found for this signature in database
GPG key ID: 4C50B54A911F6252

View file

@ -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;