]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - xinitrc
xmonad.hs: Use default workspaces.
[config/dotfiles.git] / xinitrc
diff --git a/xinitrc b/xinitrc
old mode 100644 (file)
new mode 100755 (executable)
index 6a90254..2a6866b
--- a/xinitrc
+++ b/xinitrc
@@ -9,7 +9,11 @@ xmodmap ~/.xmodmaprc
 
 # Change the background if available.
 if [ -f ~/.background ]; then
-    hsetroot -full ~/.background
+    if [ -x /usr/bin/hsetroot ]; then
+        hsetroot -full ~/.background
+    elif [ -x /usr/bin/feh ]; then
+        feh --bg-scale ~/.background
+    fi
 fi
 
 # Start XMonad.