summaryrefslogtreecommitdiffstats
path: root/.local/bin/setbg
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/setbg')
-rwxr-xr-x.local/bin/setbg10
1 files changed, 5 insertions, 5 deletions
diff --git a/.local/bin/setbg b/.local/bin/setbg
index 728df4c..e7775ca 100755
--- a/.local/bin/setbg
+++ b/.local/bin/setbg
@@ -13,10 +13,10 @@
[ -d "$1" ] && mv "$(find "$1"/*.{jpg,jpeg,png} -type f | shuf -n 1)" ~/.config/wall.png && notify-send -i "$HOME/.config/wall.png" "Random Wallpaper chosen."
# If pywal is installed, use it.
-type wal >/dev/null 2>&1 && { wal -c ;
- wal -s -i ~/.config/wall.png -o ~/.config/wal/postrun;
- xsetroot -name "fsignal:xrdb";
- killall dwmblocks;
- setsid dwmblocks >/dev/null 2>&1 & }
+type wal >/dev/null 2>&1 && { wal -c
+ wal -s -i ~/.config/wall.png -o ~/.config/wal/postrun
+ xsetroot -name "fsignal:xrdb"
+ killall dwmblocks
+ setsid dwmblocks >/dev/null & } >/dev/null 2>&1
xwallpaper --zoom ~/.config/wall.png