don't skip color change since it is now fixed

This commit is contained in:
Luke Smith 2020-05-13 18:12:44 -04:00
parent 99043c4279
commit b8b9b420f9
No known key found for this signature in database
GPG key ID: 4C50B54A911F6252

View file

@ -14,7 +14,7 @@ bgloc="${XDG_DATA_HOME:-$HOME/.local/share/}/bg"
[ -d "$1" ] && ln -sf "$(find "$(readlink -f "$1")" -iregex '.*.\(jpg\|jpeg\|png\|gif\)' -type f | shuf -n 1)" "$bgloc" && notify-send -i "$bgloc" "Random Wallpaper chosen."
# If pywal is installed, use it.
wal -s -i "$(readlink -f "$bgloc")" -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
xwallpaper --zoom "$bgloc"