Merge branch 'backport' into work
This commit is contained in:
commit
31f0c8c1ad
2 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@ fi
|
||||||
|
|
||||||
# Run XDG autostart things. By default don't run anything desktop-specific
|
# Run XDG autostart things. By default don't run anything desktop-specific
|
||||||
# See xdg-autostart --help more info
|
# See xdg-autostart --help more info
|
||||||
DESKTOP_ENV=""
|
DESKTOP_ENV="OPENBOX"
|
||||||
if which @secretbindir@/xdg-autostart >/dev/null; then
|
if which @secretbindir@/xdg-autostart >/dev/null; then
|
||||||
@secretbindir@/xdg-autostart $DESKTOP_ENV
|
@secretbindir@/xdg-autostart $DESKTOP_ENV
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -37,7 +37,7 @@ else
|
||||||
if test -z "$SESSION"; then
|
if test -z "$SESSION"; then
|
||||||
# if its empty then just run openbox
|
# if its empty then just run openbox
|
||||||
SESSION="[openbox]"
|
SESSION="[openbox]"
|
||||||
elif echo "$SESSION" | grep -q openbox; then
|
elif ! echo "$SESSION" | grep -q openbox; then
|
||||||
# if openbox isn't in the session then append it
|
# if openbox isn't in the session then append it
|
||||||
SESSION="${SESSION%]},openbox]"
|
SESSION="${SESSION%]},openbox]"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue