summary refs log tree commit diff
path: root/_xinitrc
blob: 3b8385f4a80b39b18fa1fe62592158a176e38561 (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 &

# 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 $1
else
    exec $DEFAULT
fi