2010-07-30 06:17:53 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
userresources=$HOME/.Xresources
|
|
|
|
usermodmap=$HOME/.Xmodmap
|
|
|
|
sysresources=/etc/X11/xinit/.Xresources
|
|
|
|
sysmodmap=/etc/X11/xinit/.Xmodmap
|
|
|
|
|
|
|
|
# Merge in defaults and keymaps
|
|
|
|
[ -f $sysresources ] && /usr/bin/xrdb -merge $sysresources
|
|
|
|
[ -f $sysmodmap ] && /usr/bin/xmodmap $sysmodmap
|
|
|
|
[ -f $userresources ] && /usr/bin/xrdb -merge $userresources
|
|
|
|
[ -f $usermodmap ] && /usr/bin/xmodmap $usermodmap
|
|
|
|
|
|
|
|
# Start i3
|
2010-12-21 04:26:34 +01:00
|
|
|
if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
|
2012-08-19 05:44:59 +02:00
|
|
|
exec ck-launch-session dbus-launch --exit-with-session /usr/bin/i3
|
2010-07-30 06:17:53 +02:00
|
|
|
else
|
2013-11-11 20:29:22 +01:00
|
|
|
exec /usr/bin/i3
|
2010-07-30 06:17:53 +02:00
|
|
|
fi
|
|
|
|
|