to avoid erorr in vifm when pywal is not used (#481)

This commit is contained in:
nerrufam 2020-03-04 15:52:35 +01:00 committed by GitHub
parent dab3ae5be0
commit 884b14145a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,7 +8,7 @@
[ ! -z "$1" ] && cp "$1" ~/.config/wall.png && notify-send -i "$HOME/.config/wall.png" "Wallpaper changed." [ ! -z "$1" ] && cp "$1" ~/.config/wall.png && notify-send -i "$HOME/.config/wall.png" "Wallpaper changed."
# If pywal is installed, use it. # 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; wal -s -i ~/.config/wall.png -o ~/.config/wal/postrun;
xsetroot -name "fsignal:xrdb"; xsetroot -name "fsignal:xrdb";
killall dwmblocks; killall dwmblocks;