diff options
| -rw-r--r-- | man/feh.pre | 6 | ||||
| -rw-r--r-- | src/wallpaper.c | 2 | 
2 files changed, 7 insertions, 1 deletions
| diff --git a/man/feh.pre b/man/feh.pre index a313fd4..3fecb00 100644 --- a/man/feh.pre +++ b/man/feh.pre @@ -1075,6 +1075,12 @@ So to have your background restored every time you start X, you can add  .Qq ~/.fehbg &  to your X startup script  .Pq such as Pa ~/.xinitrc . +Note that the commandline written to +.Pa ~/.fehbg +always includes the +.Cm --no-fehbg +option to ensure that it is not inadvertently changed by differences in +X11 screen layout or similar.  .  .Pp  . diff --git a/src/wallpaper.c b/src/wallpaper.c index 96b4f90..6a94879 100644 --- a/src/wallpaper.c +++ b/src/wallpaper.c @@ -463,7 +463,7 @@ void feh_wm_set_bg(char *fil, Imlib_Image im, int centered, int scaled,  				} else {  					fputs("#!/bin/sh\n", fp);  					fputs(cmdargv[0], fp); -					fputs(" --bg-", fp); +					fputs(" --no-fehbg --bg-", fp);  					if (centered)  						fputs("center", fp);  					else if (scaled) | 
