summaryrefslogtreecommitdiff
path: root/src/fehrc.raw
blob: 94f88b0303b3ddf9c8ed45d035ef3703c34b49ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# Feh configuration file.
# Lines starting with # are comments. Don't use comments mid-line.

# Feh expects to find this as ~/.fehrc or /etc/fehrc
# If both are available, ~/.fehrc will be used

# 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 (usually) use a \\ to make them continue on the next one:
# 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

# Add <img> tags to your html with ease :-)
newimg -q -L \"<img src=\\\"%f\\\" alt=\\\"%n\\\" border=\\\"0\\\" width=\\\"%w\\\" height=\\\"%h\\\">\"

# Different menus
brushed --menu-bg " PREFIX "/share/feh/images/menubg_brushed.png
aluminium --menu-bg " PREFIX "/share/feh/images/menubg_aluminium.png
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 \\
      --menu-style " PREFIX "/share/feh/fonts/black.style

# 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