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