summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-08-24 19:20:54 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-08-24 19:20:54 +0200
commitaea70b203d19d02079a1d6c0b07d06220bf811d2 (patch)
tree0178fc11fc15dc9ddaf2eca91b265ce62e2ed956 /man
parent9fcf25807ad1e9c0b32985e0a77a6de8098fe91f (diff)
downloadfeh-aea70b203d19d02079a1d6c0b07d06220bf811d2.zip
--filelist: Support reading from /dev/stdin ("-" as shortcut)
Note that read_filelist used to check if its argument was an image (for people accidentaly typing "feh -df *" instead of "feh -dF *"); this was removed because it failed on /dev/stdin. I might re-add it, but I'm not yet sure about the future of feh's automatic filelist saving.
Diffstat (limited to 'man')
-rw-r--r--man/feh.pre21
1 files changed, 19 insertions, 2 deletions
diff --git a/man/feh.pre b/man/feh.pre
index 598231a..a1b7b9b 100644
--- a/man/feh.pre
+++ b/man/feh.pre
@@ -195,12 +195,20 @@ This option is similar to the playlists used by music software. If
.Ar file
exists, it will be read for a list of files to load, in the order they appear.
The format is a list of image filenames, absolute or relative to the current
-directory, one filename per line. If
+directory, one filename per line.
+.
+.Pp
+.
+If
.Ar file
doesn't exist, it will be created from the internal filelist at the end of a
viewing session. This is best used to store the results of complex sorts
.Pq Cm -Spixels No for example
-for later viewing. Any changes to the internal filelist
+for later viewing.
+.
+.Pp
+.
+Any changes to the internal filelist
.Pq such as deleting a file or it being pruned for being unloadable
will be saved to
.Ar file
@@ -209,6 +217,15 @@ when
exits. You can add files to filelists by specifying them on the commandline
when also specifying the list.
.
+.Pp
+.
+If
+.Ar file
+is
+.Qq - ,
+.Nm
+will read the filelist from its standard input.
+.
.It Cm -e , --font Ar font
.
Set global font. Should be a truetype font, resident in the current directory