]> ruderich.org/simon Gitweb - config/dotfiles.git/blob - xinitrc
xinitrc: Add missing shebang.
[config/dotfiles.git] / xinitrc
1 #!/bin/sh
2
3 # startx configuration file.
4
5
6 # Use a black background for the root window.
7 xsetroot -solid black
8
9 # Use my X11 key bindings.
10 xmodmap ~/.xmodmaprc
11
12 # Change the background if available.
13 if [ -f ~/.background ]; then
14     if [ -x /usr/bin/hsetroot ]; then
15         hsetroot -full ~/.background
16     elif [ -x /usr/bin/feh ]; then
17         feh --bg-scale ~/.background
18     fi
19 fi
20
21 # Start XMonad.
22 xmonad
23
24 # vim: ft=sh