summary refs log tree commit diff
path: root/.xinitrc
blob: 0f7a73c1fa7109cc9ad5c0ee107e62cbb9c982a9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
export BROWSER=chromium

xrdb ~/.Xresources &
xautolock -locker slimlock -time 30 &
unclutter -idle 3 -noevents &
start-pulseaudio-x11 &
xsetroot -cursor_name left_ptr &
nitrogen --restore &
xcompmgr &

mpd &
mpdscribble &
mpDris2 &

dropboxd &

# 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
xmodmap -e "remove mod1 = Alt_L" -e "remove mod4 = Super_L" -e "add mod1 = Super_L" -e "add mod4 = Alt_L" # Swap Super and Alt

SESSION=awesome
[ $1 ] && SESSION=$1
exec dbus-launch $SESSION