fix update colorsheme on boot

run wal even if there is no file as argument by looking at the true location of the bg link
This commit is contained in:
John Stef 2021-06-23 16:44:23 +03:00 committed by GitHub
parent 4231d6bd33
commit 0a6c41b39e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,7 @@ esac
# If pywal is installed, use it. # If pywal is installed, use it.
command -v wal >/dev/null 2>&1 && command -v wal >/dev/null 2>&1 &&
wal -i "$trueloc" -o "${XDG_CONFIG_HOME:-$HOME/.config}/wal/postrun" >/dev/null 2>&1 && wal -i "$(readlink -f $bgloc)" -o "${XDG_CONFIG_HOME:-$HOME/.config}/wal/postrun" >/dev/null 2>&1 &&
pidof dwm >/dev/null && xdotool key super+F12 pidof dwm >/dev/null && xdotool key super+F12
xwallpaper --zoom "$bgloc" xwallpaper --zoom "$bgloc"