From 1b3c8bf385db028a4a1eb2a91e7301f7c2111cf1 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 13 Apr 2015 16:58:53 +0200 Subject: feh(1): themes config syntax: mention details about quoting and filename generation --- man/feh.pre | 18 +++++++++++++----- 1 file 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 -- cgit v1.2.3