X-Git-Url: http://git.openbox.org/?p=dana%2Fopenbox.git;a=blobdiff_plain;f=data%2Fautostart%2Fopenbox-autostart.in;h=5c7277740396c9cf92a6fc6a1a316324f867f043;hp=063c635feb39c78767d8826c56eb01a14c6c746b;hb=d0ba8806689ea80b6a739122aaf8dac81d2a3e5c;hpb=d3a8bab0f09e6a77a98e3c54fe5a57966bb0d636;ds=sidebyside diff --git a/data/autostart/openbox-autostart.in b/data/autostart/openbox-autostart.in index 063c635..5c72777 100755 --- a/data/autostart/openbox-autostart.in +++ b/data/autostart/openbox-autostart.in @@ -2,11 +2,11 @@ # Set a background color BG="" -if which hsetroot >/dev/null; then +if which hsetroot >/dev/null 2>/dev/null; then BG=hsetroot -elif which esetroot >/dev/null; then +elif which esetroot >/dev/null 2>/dev/null; then BG=esetroot -elif which xsetroot >/dev/null; then +elif which xsetroot >/dev/null 2>/dev/null; then BG=xsetroot fi test -z $BG || $BG -solid "#303030"