]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
xinitrc: Set the X root background if possible.
authorSimon Ruderich <simon@ruderich.org>
Tue, 15 Sep 2009 23:20:27 +0000 (01:20 +0200)
committerSimon Ruderich <simon@ruderich.org>
Tue, 15 Sep 2009 23:20:27 +0000 (01:20 +0200)
xinitrc

diff --git a/xinitrc b/xinitrc
index 799a2d47442e74d827331dee1e25da5e9313573f..7513f8203bdd6ea1daea369439144ecc11865961 100644 (file)
--- a/xinitrc
+++ b/xinitrc
@@ -7,6 +7,10 @@ xsetroot -solid black
 # Use my X11 key bindings.
 xmodmap ~/.xmodmaprc
 
+if [ -f ~/.background ]; then
+    hsetroot -full ~/.background
+fi
+
 # Start stumpwm.
 xmonad