X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=xinitrc;h=a18974c02fb788aee3f7b482b3fa2fc58b14e1b4;hb=743494673608b01088ddb1b63a93cb9120fefb49;hp=127683d5992c59c820aa745a4edfc5b1721acbdb;hpb=272053303a40c6fc2397452eb4e1bd3d89d627c0;p=config%2Fdotfiles.git diff --git a/xinitrc b/xinitrc index 127683d..a18974c 100755 --- a/xinitrc +++ b/xinitrc @@ -60,6 +60,10 @@ 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" + # Remove the unnecessary ~/.fehbg file created by `feh`. I don't want + # to restore the background, I just run `feh` on each startx run. + # --no-fehbg is only available in recent feh releases. + rm -f "$HOME/.fehbg" fi fi