summaryrefslogtreecommitdiffstats
path: root/.local/bin/setbg
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-05-13 18:12:44 -0400
committerLuke Smith <luke@lukesmith.xyz>2020-05-13 18:12:44 -0400
commitb8b9b420f9579174369c4eeecea99e545dfd24f6 (patch)
tree3aa167c88bbc1ceccb06574125d8635c4749b0c8 /.local/bin/setbg
parent99043c42798d1c4a85835264fc61a3a70d223c89 (diff)
downloadeibhear-b8b9b420f9579174369c4eeecea99e545dfd24f6.tar.gz
eibhear-b8b9b420f9579174369c4eeecea99e545dfd24f6.tar.zst
eibhear-b8b9b420f9579174369c4eeecea99e545dfd24f6.zip
don't skip color change since it is now fixed
Diffstat (limited to '.local/bin/setbg')
-rwxr-xr-x.local/bin/setbg2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/setbg b/.local/bin/setbg
index ea35e16..5f70fa5 100755
--- a/.local/bin/setbg
+++ b/.local/bin/setbg
@@ -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"