so feh can have a config-file. it works with themes, where you can set a bunch of options, then call feh with the -T option to use that particular theme. a "theme" is in this situation then simply a set of options.
from the manpage:
Code: Select all
CONFIG FILE SYNTAX
The config file allows the naming of option groups, called themes. If ~/.fehrc or /etc/fehrc
exist, feh will look in them for name/options pairs. If neither of them exist, feh will create
a default one in ~/.fehrc.
It takes entries of the form "theme options ...", where theme is the name of the entry and
options are the options which will be applied when the theme is used.
An example entry would be "imagemap -rVq --thumb-width 40 --thumb-height 30".
You cane use this theme in two ways. Either call "feh -Timagemap *.jpg" or create a symbolic
link to feh with the name of the theme you want it to use. So from the example above: "ln -s
`which feh ` ~/bin/imagemap". Now just run "imagemap *.jpg" to use these options.
Note that you can split a theme over several lines by placing a backslash at the end of a line,
like in the shell.
You can combine these themes with commandline options. An example .fehrc is provided with a
couple of cool example themes.
kmandla did a nice post on feh as well: https://kmandla.wordpress.com/2008/09/1 ... k-for-you/
another option is to write scripts that incorporate feh, such as you can read about on the Arch wiki feh entry: https://wiki.archlinux.org/index.php/Feh
i have yet to experiment with this myself. what i want to do is simply make it display images full-screen and zoom (the -Z -F options), and then have a key assigned (-A option) to move the current image to a separate directory. i would use this for sorting through a list of photos i've taken. will perhaps post some results later tonight :)