From 884b14145a224a2dbc96bcccdd6b47fe00c48d83 Mon Sep 17 00:00:00 2001 From: nerrufam <58603397+nerrufam@users.noreply.github.com> Date: Wed, 4 Mar 2020 15:52:35 +0100 Subject: [PATCH] to avoid erorr in vifm when pywal is not used (#481) --- .local/bin/setbg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;