summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-07-22 18:22:50 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-07-22 18:22:50 +0200
commit3120a848f6ce663dbbe200835dc03b588568a8a0 (patch)
tree0329fdb5a4477d7e23df6bbd7e259f5b87ca1c17 /src
parente57b7defb863902303c295947535d64b393d7761 (diff)
Use --no-fehbg in .fehbg commandline
This ensures that X11 layout or other changes do not affect the .fehbg contents, which are meant to only be updated when a --bg-option is used manually. Closes #482
Diffstat (limited to 'src')
-rw-r--r--src/wallpaper.c2
1 files changed, 1 insertions, 1 deletions
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)