#!/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