From: Simon Ruderich Date: Sun, 4 Nov 2012 15:21:47 +0000 (+0100) Subject: xinitrc: Don't create ~/.fehbg when using feh to set the background. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=1f035fb8c343f1206bdedb2c282536ca6e9aa263;p=config%2Fdotfiles.git xinitrc: Don't create ~/.fehbg when using feh to set the background. --- 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