From b5c909ca610871d50bb673dc98eeeeec63da54d8 Mon Sep 17 00:00:00 2001
From: Daniel Friesel <derf@finalrewind.org>
Date: Thu, 28 Aug 2014 14:05:27 +0200
Subject: [PATCH] feh(1): 'exec' is not required for .fehbg

While at it: Add some notes about .fehbg in general and the fact that it is
an executable shell script now.
---
 man/feh.pre | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/man/feh.pre b/man/feh.pre
index a76cf38..4906158 100644
--- a/man/feh.pre
+++ b/man/feh.pre
@@ -766,12 +766,17 @@ be printed.
 .Nm
 can also be used as a background setter.  Unless you pass the
 .Cm --no-fehbg
-option, it will store the command line necessary to set the background in
-.Pa ~/.fehbg ,
-so to have your background restored every time you start X, you can add
-.Qq exec ~/.fehbg &
+option, it will write a script to set the current background to
+.Pa ~/.fehbg .
+So to have your background restored every time you start X, you can add
+.Qq sh ~/.fehbg &
 to your X startup script
-.Pq like Pa ~/.xinitrc .
+.Pq such as Pa ~/.xinitrc .
+As of
+.Nm
+2.13, this script is executable, so
+.Qq ~/.fehbg &
+will work as well.
 .
 .Pp
 .
-- 
GitLab