]> git.friedersdorff.com Git - max/dotfiles.git/blob - xinitrc
6a2e74cd24f4da1b2be7ecbc01d88f7a8d4f4790
[max/dotfiles.git] / 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
27 feh --bg-scale ~/Pictures/background.jpg&
28
29
30 # exec gnome-session
31 # exec startkde
32 # exec startxfce4
33 # ...or the Window Manager of your choice
34 #exec i3
35 exec ck-launch-session dbus-launch --sh-syntax --exit-with-session qtile