wmstartup: Pipe things where they should be piped

This commit is contained in:
Salt 2018-07-31 15:04:44 -05:00
parent 782b8bdd28
commit 2823159845

View File

@ -59,14 +59,14 @@ done
# Wallpaper management
# Note that this MUST happen before the compositor starts, otherwise xsetroot
# will not apply properly
if which xfdesktop 2&> /dev/null; then
if which xfdesktop > /dev/null 2>&1; then
printf " [INFO] Starting xfdesktop\n"
xfdesktop&
elif which feh 2&> /dev/null; then
elif which feh > /dev/null 2>&1; then
printf " [INFO] Setting wallpaper with feh\n"
printf " [WARN] This solution may cause problems on multi-monitor systems\n"
feh --randomize --bg-fill ~/Pictures/Wallpapers/.active &
elif which xsetroot 2&> /dev/null; then
elif which xsetroot > /dev/null 2>&1; then
printf " [INFO] Setting root window color\n"
xsetroot -solid "#282828"
else