X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=data%2Fautostart%2Fopenbox-autostart.in;fp=data%2Fautostart%2Fopenbox-autostart.in;h=5c7277740396c9cf92a6fc6a1a316324f867f043;hb=9325c92056ff4268db2263cdf8c07bb529e158aa;hp=063c635feb39c78767d8826c56eb01a14c6c746b;hpb=32c93f09f03bd2d7c7bf3408febbe9fa7f8dd1cc;p=chaz%2Fopenbox diff --git a/data/autostart/openbox-autostart.in b/data/autostart/openbox-autostart.in index 063c635f..5c727774 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"