]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - xinitrc
xmonad.hs: Prevent new windows from stealing focus.
[config/dotfiles.git] / xinitrc
diff --git a/xinitrc b/xinitrc
index 1c586bc66db0ae9197581f5d7860db637b70e3df..6a9025463be38986c376bbbf6286dd8c1cdfba6c 100644 (file)
--- a/xinitrc
+++ b/xinitrc
@@ -7,7 +7,12 @@ xsetroot -solid black
 # Use my X11 key bindings.
 xmodmap ~/.xmodmaprc
 
-# Start stumpwm.
-exec stumpwm
+# Change the background if available.
+if [ -f ~/.background ]; then
+    hsetroot -full ~/.background
+fi
+
+# Start XMonad.
+xmonad
 
 # vim: ft=sh