From 1f035fb8c343f1206bdedb2c282536ca6e9aa263 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 4 Nov 2012 16:21:47 +0100 Subject: [PATCH] xinitrc: Don't create ~/.fehbg when using feh to set the background. --- xinitrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xinitrc b/xinitrc index 127683d..35bbe22 100755 --- 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 -- 2.44.1