summaryrefslogtreecommitdiff
path: root/man/feh.pre
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-04-13 16:58:53 +0200
committerDaniel Friesel <derf@finalrewind.org>2015-04-13 16:58:53 +0200
commit1b3c8bf385db028a4a1eb2a91e7301f7c2111cf1 (patch)
tree8dcbeff3c252e268d60e00a40fa5dcc7afc86be7 /man/feh.pre
parent250662bf9adb16814e84808668d05bc347c063a7 (diff)
feh(1): themes config syntax: mention details about quoting and filename generation
Diffstat (limited to 'man/feh.pre')
-rw-r--r--man/feh.pre18
1 files changed, 13 insertions, 5 deletions
diff --git a/man/feh.pre b/man/feh.pre
index c562188..10ea58f 100644
--- a/man/feh.pre
+++ b/man/feh.pre
@@ -997,10 +997,17 @@ is the name of the entry and
.Ar options
are the options which will be applied when the theme is used.
.
+Note that the options are not parsed by any shell. Therefore, filename expansion
+.Po
+.Qq *.jpg
+and similar
+.Pc
+is not supported. Quoting with both single and double quotes works, though.
+.
.Pp
.
An example entry would be
-.Qq imagemap -rVq --thumb-width 40 --thumb-height 30 .
+.Qq imagemap -rVq --thumb-width 40 --thumb-height 30 --index-info \&'%n\en\&%wx\&%h\&' .
.
.Pp
.
@@ -1008,10 +1015,11 @@ You can use this theme in two ways. Either call
.Qo
.Nm
-Timagemap *.jpg
-.Qc
+.Qc ,
or create a symbolic link to
.Nm
-with the name of the theme you want it to use. So from the example above:
+with the name of the theme you want it to use. For the example above,
+this would be
.Qo
ln -s `which
.Nm
@@ -1024,11 +1032,11 @@ to use these options.
.Pp
.
Note that you can split a theme over several lines by placing a backslash at
-the end of a line, like in the shell.
+the end of an unfinished line.
.
.Pp
.
-You can combine these themes with commandline options.
+Command line options always override theme options.
.
.
.Sh KEYS CONFIG SYNTAX