summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-02-13 12:57:34 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2010-02-13 12:57:34 +0100
commit9f6b5c19e7bb7b9fb039ff673cdaf0c88566929f (patch)
tree347d3708c696a872481ba45bc2b54bdc2771523d
parent91bd85a87464ea83e79bdae9a7280acc5ad8c260 (diff)
downloadfeh-9f6b5c19e7bb7b9fb039ff673cdaf0c88566929f.zip
Document --thumb-title
-rw-r--r--TODO3
-rw-r--r--feh.13
-rw-r--r--src/options.c2
3 files changed, 8 insertions, 0 deletions
diff --git a/TODO b/TODO
index e011827..f7cae0e 100644
--- a/TODO
+++ b/TODO
@@ -20,3 +20,6 @@ remove it.
key release would be better. However, I couldn't find a way to do that so far.
Even when holding down a key, everytime the eventloop runs I get a
KeyRelease event.
+
+--thumb-title covers a very specific case, would be cool to make this more
+general (usable in index mode, as image info in thumbnail mode, etc.)
diff --git a/feh.1 b/feh.1
index 4dfd0b5..b10e2bd 100644
--- a/feh.1
+++ b/feh.1
@@ -266,6 +266,9 @@ Same as Index mode, but the thumbnails are clickable image launchers.
.B --cache-thumbnails
Enable thumbnail caching (in ~/.thumbnails)
.TP 5
+.B -~, --thumb-title STRING
+Set title for windows opened from thumbnail mode. See also FORMAT SPECIFIERS.
+.TP 5
.B --bg-tile FILE
.TP 5
.B --bg-center FILE
diff --git a/src/options.c b/src/options.c
index 9fb50ff..2ce5984 100644
--- a/src/options.c
+++ b/src/options.c
@@ -987,6 +987,8 @@ show_usage(void)
" -t, --thumbnails As --index, but clicking an image will open it in\n"
" a new viewing window\n"
" --cache-thumbnails Enable thumbnail caching\n"
+" -~, --thumb-title STRING Set window title for images opened from thumbnail mode.\n"
+" Supports format specifiers, see there.\n"
" -I, --fullindex Same as index mode, but below each thumbnail you\n"
" get image name, size and dimensions\n"
" --bg-tile FILE\n"