summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/keys45
-rw-r--r--examples/themes66
2 files changed, 111 insertions, 0 deletions
diff --git a/examples/keys b/examples/keys
new file mode 100644
index 0000000..d221d29
--- /dev/null
+++ b/examples/keys
@@ -0,0 +1,45 @@
+# feh key configuration.
+# Comments start with a # sign, do not use them mid-line.
+# Each line must be blank, a comment, or a key definition.
+#
+# key definition: <action name> <key1> [<key2> [<key3>]]
+#
+# Each <key> is an X11 keysym (as output by xev) with optional modifier.
+# For instance, C-x would be Ctrl+X, or 4-space Mod4+Space
+
+# Examples for vim-like menu bindings on a qwerty keyboard:
+menu_parent h Left
+menu_child l Right
+menu_down j Down
+menu_up k Up
+menu_select space Return
+
+# Same for image navigation ...
+next_img j Right space
+prev_img k Left BackSpace
+
+# and image movement
+scroll_up J C-Up
+scroll_down K C-Down
+scroll_left H C-Left
+scroll_right L C-Right
+
+# File deletion
+remove d Delete
+delete C-d C-Delete
+
+# remove now conflicts with toggle_filenames, so change that
+toggle_filenames f
+
+# zooming
+zoom_in C-Up f
+zoom_out C-Down a
+zoom_default d
+zoom_fit s
+
+# I only hit these accidentaly
+save_image
+save_filelist
+
+# This leaves some conflicts with existing default bindings, but you should
+# get the idea. And I'm not gonna fix the conflicts, I don't use qwerty ;-)
diff --git a/examples/themes b/examples/themes
new file mode 100644
index 0000000..c5fce79
--- /dev/null
+++ b/examples/themes
@@ -0,0 +1,66 @@
+# Feh themes configuration file.
+# Lines starting with # are comments. Midline comments are not supported.
+# Place this as either ~/.config/feh/themes or /etc/feh/themes
+
+# Options are defined in theme_name/options pairs.
+# Separate themename and options by whitespace.
+
+# There are two ways of specifying the theme. Either use feh -Tthemename,
+# or use a symbolic link to feh with the name of the theme. eg
+# ln -s `which feh` ~/bin/mkindex
+# Now when you run 'mkindex', feh will load the config specified for the
+# mkindex theme.
+
+# Multiple options can of course be used. If they are too long for one line,
+# you can use a \ to make them continue on the next one, but not mid-option.
+# imagemap -rV --quiet -W 400 -H 300 \
+# --thumb-width 40 --thumb-height 30
+
+# ====================
+# A few default themes
+# ====================
+
+# Webcam mode, simply specify the url(s).
+# e.g. feh -Twebcam http://cam1 http://cam2
+webcam --multiwindow --reload 20
+
+# Create an index of the current directory. This version uses . as the
+# current dir, so you don't even need any commandline arguments.
+mkindex -iVO index.jpg .
+
+# More ambitious version...
+imgidx --index --output-only .fehindex.jpg --limit-width 1024 \
+ --thumb-width 128 --thumb-height 128 --verbose --quiet
+
+# Show a presentation
+present --full-screen --sort name --hide-pointer
+
+# Booth mode ;-)
+booth --full-screen --hide-pointer --slideshow-delay 20
+
+# Screw xscreensaver, use feh =)
+screensave --recursive --full-screen --randomize --slideshow-delay 10 --hide-pointer
+
+# Different menus
+aqua --menu-bg " PREFIX "/share/feh/images/menubg_aqua.png
+sky --menu-bg " PREFIX "/share/feh/images/menubg_sky.png
+black --menu-bg " PREFIX "/share/feh/images/menubg_black.png
+
+# Some more examples, used by the feh developer
+
+rfs --full-screen --hide-pointer --auto-zoom --randomize
+fs --full-screen --hide-pointer --auto-zoom --sort filename
+
+thumb_s --thumbnails --cache-thumbnails --thumb-width 128 --thumb-height 128 \
+ --limit-width 1024 --sort filename \
+ --fontpath /usr/share/fonts/truetype/ttf-dejavu/ --font DejaVuSans/8
+
+thumb_b --thumbnails --cache-thumbnails --thumb-width 256 --thumb-height 256 \
+ --limit-width 1024 --sort filename \
+ --fontpath /usr/share/fonts/truetype/ttf-dejavu/ --font DejaVuSans/8
+
+thumb_s_nt --thumbnails --cache-thumbnails --thumb-width 128 --thumb-height 128 \
+ --limit-width 1024 --sort filename --index-name 0
+
+thumb_b_nt --thumbnails --cache-thumbnails --thumb-width 256 --thumb-height 256 \
+ --limit-width 1024 --sort filename --index-name 0