summaryrefslogtreecommitdiffstats
path: root/.local/bin/setbg
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-03-22 09:31:25 -0400
committerLuke Smith <luke@lukesmith.xyz>2020-03-22 09:31:25 -0400
commitf939f016a25b250c2fcbce230d8be044c4d33c09 (patch)
treec59d1c298da8fa74e55802d751ce55f627152fea /.local/bin/setbg
parentb54a56831e8a56277b00109c5de363ab12f16b64 (diff)
downloadeibhear-f939f016a25b250c2fcbce230d8be044c4d33c09.tar.gz
eibhear-f939f016a25b250c2fcbce230d8be044c4d33c09.tar.zst
eibhear-f939f016a25b250c2fcbce230d8be044c4d33c09.zip
suppress all setbg wal output
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