]> git.friedersdorff.com Git - max/dotfiles.git/blob - xinitrc
038a91443a966df376242581c901d1b898829efe
[max/dotfiles.git] / xinitrc
1 #!/bin/sh
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 [[ -f ~/.Xresources ]] && xrdb -merge ~/.Xresources
18
19 # Set caps lock as control to avoid emacs pinky
20 setxkbmap -option ctrl:nocaps
21
22 # Set java font option
23 export _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on"
24
25
26 feh --bg-scale ~/Pictures/background.jpg&
27
28
29 # exec gnome-session
30 # exec startkde
31 # exec startxfce4
32 # ...or the Window Manager of your choice
33 #exec i3
34 exec ck-launch-session dbus-launch --sh-syntax --exit-with-session qtile