summaryrefslogtreecommitdiffstats
path: root/.local/bin/setbg
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/setbg')
-rwxr-xr-x.local/bin/setbg1
1 files changed, 1 insertions, 0 deletions
diff --git a/.local/bin/setbg b/.local/bin/setbg
index b91c87c..3e7294b 100755
--- a/.local/bin/setbg
+++ b/.local/bin/setbg
@@ -16,4 +16,5 @@ bgloc="${XDG_DATA_HOME:-$HOME/.local/share/}/bg"
# If pywal is installed, use it.
wal -s -i "$(readlink -f "$bgloc")" -o "${XDG_CONFIG_HOME:-$HOME/.config}/wal/postrun" >/dev/null 2>&1
+pidof dwm >/dev/null && xdotool key super+F5
xwallpaper --zoom "$bgloc"