summary refs log tree commit diff
path: root/_xinitrc
blob: dc3d1c06c95bdfb9d6cba11a5a1332d1a58dd19f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#eval `dbus-launch --sh-syntax --exit-with-session`

xrdb ~/.Xresources &
xautolock -locker slimlock -time 30 &

# Keyboard stuff
xmodmap -e "clear Lock" -e "keysym Caps_Lock = Escape" # Caps Lock -> Esc
xmodmap -e "remove mod1 = Alt_R" -e "keysym Alt_R = Multi_key" # Right Alt -> Compose

DEFAULT=openbox-session

if [[ $1 ]]; then
    exec ck-launch-session dbus-launch $1
else
    exec ck-launch-session dbus-launch $DEFAULT
fi