]> git.friedersdorff.com Git - max/dotfiles.git/blob - X/.xinitrc
Finish moving dotfiles to stow structure
[max/dotfiles.git] / X / .xinitrc
1 #!/bin/bash
2 #
3 # ~/.xinitrc
4 #
5 # Executed by startx (run your window manager from here)
6
7
8 if [ -d /etc/X11/xinit/xinitrc.d ]; then
9   for f in /etc/X11/xinit/xinitrc.d/*; do
10     [ -x "$f" ] && . "$f"
11   done
12   unset f
13 fi
14
15
16 # Load .Xresources
17 xrdb -merge ~/.Xresources &> /dev/null
18
19
20 # Set caps lock as control to avoid emacs pinky
21 setxkbmap -option ctrl:nocaps
22
23 # Set java font option
24 export _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on"
25
26 feh --bg-scale ~/Pictures/background.jpg&
27
28 xset -b
29
30 exec /usr/bin/ratpoison