|
root / base / hammerhead-desktop / dot-xsession
dot-xsession Plain Text 14 lines 712 B
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
#!/bin/sh
# Hammerhead default X session - launch the Openbox desktop.
#
# Put the Hammerhead desktop config (/usr/local/etc/xdg) on the XDG search
# path so openbox/tint2/conky find the branded config without ~/.config.
# (xdm's Xsession also sets this; repeated here so `startx`/xinit users, who
# run ~/.xsession directly, get the branded desktop too.)
export XDG_CONFIG_DIRS="/usr/local/etc/xdg:${XDG_CONFIG_DIRS:-/etc/xdg}"
export XDG_DATA_DIRS="/usr/local/share:${XDG_DATA_DIRS:-/usr/share}"
# Seed ~/.config so openbox-autostart (which only reads ~/.config or /etc/xdg)
# runs our autostart -> tint2/conky/wallpaper. See hh-desktop-init.
/usr/local/bin/hh-desktop-init
exec /usr/local/bin/openbox-session