suppress all setbg wal output

This commit is contained in:
Luke Smith 2020-03-22 09:31:25 -04:00
parent b54a56831e
commit f939f016a2
No known key found for this signature in database
GPG key ID: 4C50B54A911F6252

View file

@ -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." [ -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. # If pywal is installed, use it.
type wal >/dev/null 2>&1 && { wal -c ; type wal >/dev/null 2>&1 && { wal -c
wal -s -i ~/.config/wall.png -o ~/.config/wal/postrun; wal -s -i ~/.config/wall.png -o ~/.config/wal/postrun
xsetroot -name "fsignal:xrdb"; xsetroot -name "fsignal:xrdb"
killall dwmblocks; killall dwmblocks
setsid dwmblocks >/dev/null 2>&1 & } setsid dwmblocks >/dev/null & } >/dev/null 2>&1
xwallpaper --zoom ~/.config/wall.png xwallpaper --zoom ~/.config/wall.png