X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=data%2Fautostart%2Fopenbox-autostart.in;h=5c7277740396c9cf92a6fc6a1a316324f867f043;hb=9325c92056ff4268db2263cdf8c07bb529e158aa;hp=3b2f5ec5aee549628183ebc295946c55a06e7b44;hpb=bcc31faf7ecd8b0ad3b66a75fc72145e93e6c35a;p=chaz%2Fopenbox diff --git a/data/autostart/openbox-autostart.in b/data/autostart/openbox-autostart.in index 3b2f5ec5..5c727774 100755 --- a/data/autostart/openbox-autostart.in +++ b/data/autostart/openbox-autostart.in @@ -2,16 +2,16 @@ # 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" -GLOBALAUTOSTART="@configdir@/autostart" +GLOBALAUTOSTART="@rcdir@/autostart" AUTOSTART="${XDG_CONFIG_HOME:-"$HOME/.config"}/openbox/autostart" # Run the global openbox autostart script @@ -31,4 +31,4 @@ fi # Run the XDG autostart stuff. These are found in /etc/xdg/autostart and # in $HOME/.config/autostart. This requires PyXDG to be installed. # See openbox-xdg-autostart --help for more details. -@libexecdir@/openbox-xdg-autostart OPENBOX +@libexecdir@/openbox-xdg-autostart "$@"