diff options
author | Daniel Friesel <derf@finalrewind.org> | 2018-05-10 21:23:28 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2018-05-10 21:23:28 +0200 |
commit | 4e2e218cf0fffd0c74aa4bd44d7abd318166403f (patch) | |
tree | fcfd52fedf073cb22a61c5496af49a60c601b8eb /src/wallpaper.c | |
parent | f68160e7fb3c86bfa14f8ea7faf0f3d104f4a457 (diff) |
Save image-bg setting in ~/.fehbg
Diffstat (limited to 'src/wallpaper.c')
-rw-r--r-- | src/wallpaper.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wallpaper.c b/src/wallpaper.c index 4eaa660..6aa5c6d 100644 --- a/src/wallpaper.c +++ b/src/wallpaper.c @@ -471,6 +471,10 @@ void feh_wm_set_bg(char *fil, Imlib_Image im, int centered, int scaled, fputs("fill", fp); else fputs("tile", fp); + if (opt.image_bg) { + fputs(" --image-bg ", fp); + fputs(opt.image_bg, fp); + } #ifdef HAVE_LIBXINERAMA if (opt.xinerama) { if (opt.xinerama_index >= 0) { |