2017-10-16 14:38:02 -05:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
# ~/.xinitrc
|
|
|
|
#
|
|
|
|
# Executed by startx (run your window manager from here)
|
2017-12-01 00:21:33 -06:00
|
|
|
|
|
|
|
|
2017-10-16 14:38:02 -05:00
|
|
|
XDG_CONFIG_HOME="$HOME/.config"
|
|
|
|
export XDG_CONFIG_HOME
|
|
|
|
|
|
|
|
if [ -d /etc/X11/xinit/xinitrc.d ]; then
|
2017-12-01 00:21:33 -06:00
|
|
|
for f in /etc/X11/xinit/xinitrc.d/*; do
|
|
|
|
[ -x "$f" ] && . "$f"
|
|
|
|
done
|
|
|
|
unset f
|
2017-10-16 14:38:02 -05:00
|
|
|
fi
|
|
|
|
|
|
|
|
if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
|
2017-12-01 00:21:33 -06:00
|
|
|
eval `dbus-launch --sh-syntax --exit-with-session`
|
2017-10-16 14:38:02 -05:00
|
|
|
fi
|
|
|
|
|
|
|
|
openbox-session
|