X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=xinitrc;h=35bbe22f6157952d17fd9bf583f040198f3598ee;hb=429ce4dc8ecc960043dc0258bd0f795ef66e62ba;hp=e434cbacb37e620c134ab450106ea8fa988f8cb1;hpb=b69168d78941ffb5e5a16504a72cb1fa0a2d69ab;p=config%2Fdotfiles.git diff --git a/xinitrc b/xinitrc index e434cba..35bbe22 100755 --- a/xinitrc +++ b/xinitrc @@ -55,11 +55,13 @@ if test -f "$HOME/.xinitrc.local"; then fi # Change the background if available. -if test -f "$HOME/.background" && test -n $set_background; then +if test -f "$HOME/.background" && test -n "$set_background"; then if test -x /usr/bin/hsetroot; 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