]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - xinitrc
xinitrc: Set the X root background if possible.
[config/dotfiles.git] / 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