fdd76fc5 |
1 | #!/bin/sh |
2 | |
3 | userresources=$HOME/.Xresources |
4 | usermodmap=$HOME/.Xmodmap |
5 | userxprofile=$HOME/.xprofile |
6 | sysresources=/etc/X11/xinit/.Xresources |
7 | sysmodmap=/etc/X11/xinit/.Xmodmap |
8 | |
9 | # Merge in defaults and keymaps |
10 | [ -f $sysresources ] && /usr/bin/xrdb -merge $sysresources |
11 | [ -f $sysmodmap ] && /usr/bin/xmodmap $sysmodmap |
12 | [ -f $userresources ] && /usr/bin/xrdb -merge $userresources |
13 | [ -f $usermodmap ] && /usr/bin/xmodmap $usermodmap |
14 | [ -f $userxprofile ] && . $userxprofile |
15 | |
16 | |
17 | # Start i3 |
18 | if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then |
19 | exec ck-launch-session dbus-launch --exit-with-session /usr/bin/i3 |
20 | else |
21 | exec /usr/bin/i3 |
22 | fi |