summary refs log tree commit diff
path: root/_xinitrc
blob: b4d89e20fdbbcc4bbb45631283b41cb8e9a118bc (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 $1
else
    exec $DEFAULT
fi