]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - xinitrc
xinitrc: Don't create ~/.fehbg when using feh to set the background.
[config/dotfiles.git] / xinitrc
diff --git a/xinitrc b/xinitrc
index 127683d5992c59c820aa745a4edfc5b1721acbdb..35bbe22f6157952d17fd9bf583f040198f3598ee 100755 (executable)
--- a/xinitrc
+++ b/xinitrc
@@ -60,6 +60,8 @@ if test -f "$HOME/.background" && test -n "$set_background"; then
         hsetroot -full "$HOME/.background"
     elif test -x /usr/bin/feh; then
         feh --bg-scale "$HOME/.background"
+        # --no-fehbg is only available in recent feh releases.
+        rm -f "$HOME/.fehbg"
     fi
 fi