summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-03-16 13:28:27 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2010-03-16 13:28:27 +0100
commit90f25719cd2af7e0e08eb33acb74686d37c066b0 (patch)
tree331fe404c693f1365dd94bc2f5d17930c15878c0
parent9d74a83092c01101d32a876f1346fcbbc8983967 (diff)
Slightly reformat/rework default .fehrc
-rw-r--r--src/options.c88
1 files changed, 52 insertions, 36 deletions
diff --git a/src/options.c b/src/options.c
index f085a44..4f65c53 100644
--- a/src/options.c
+++ b/src/options.c
@@ -1151,60 +1151,76 @@ void feh_create_default_config(char *rcfile)
"# Lines starting with # are comments. Don't use comments mid-line.\n"
"\n"
"# Feh expects to find this as ~/.fehrc or /etc/fehrc\n"
- "# If both are available, ~/.fehrc will be used\n" "\n"
- "# Options defined in theme_name/options pairs.\n"
- "# Separate themename and options by whitespace.\n" "\n"
+ "# If both are available, ~/.fehrc will be used\n"
+ "\n"
+ "# Options are defined in theme_name/options pairs.\n"
+ "# Separate themename and options by whitespace.\n"
+ "\n"
"# There are two ways of specifying the theme. Either use feh -Tthemename,\n"
"# or use a symbolic link to feh with the name of the theme. eg\n"
"# ln -s `which feh` ~/bin/mkindex\n"
"# Now when you run 'mkindex', feh will load the config specified for the\n"
- "# mkindex theme.\n" "\n" "# ======================\n"
- "# Some examples of usage\n" "# ======================\n"
+ "# mkindex theme.\n"
+ "\n"
+ "# ======================\n"
+ "# Some examples of usage\n"
+ "# ======================\n"
"\n"
"# Set the default feh options to be recursive and verbose\n"
- "# feh -rV\n" "\n"
+ "# feh -rV\n"
+ "\n"
"# Multiple options can of course be used. They should all be on one line\n"
"# imagemap -rV --quiet -W 400 -H 300 --thumb-width 40 --thumb-height 30\n"
- "\n" "# ================================================\n"
- "# Here I set some useful themes for you to try out\n"
- "# ================================================\n" "\n"
+ "\n"
+ "# ====================\n"
+ "# A few default themes\n"
+ "# ====================\n"
+ "\n"
"# Webcam mode, simply specify the url(s).\n"
"# e.g. feh -Twebcam http://cam1 http://cam2\n"
- "webcam --multiwindow --reload 20\n" "\n"
+ "webcam --multiwindow --reload 20\n"
+ "\n"
"# Create an index of the current directory. This version uses . as the\n"
"# current dir, so you don't even need any commandline arguments.\n"
- "mkindex -iVO index.jpg .\n" "\n"
+ "mkindex -iVO index.jpg .\n"
+ "\n"
"# More ambitious version...\n"
"imgidx -iVO .fehindex.jpg --limit-width 1200 --thumb-width 90 --thumb-height 90 .\n"
- "\n" "# Show a presentation\n"
- "present --full-screen --sort name\n" "\n"
+ "\n"
+ "# Show a presentation\n"
+ "present --full-screen --sort name\n"
+ "\n"
"# Booth mode ;-)\n"
"booth --full-screen --hide-pointer --slideshow-delay 20\n"
- "\n" "# Screw xscreensaver, use feh =)\n"
+ "\n"
+ "# Screw xscreensaver, use feh =)\n"
"screensave --full-screen --randomize --slideshow-delay 5\n"
- "\n" "# Add <img> tags to your html with ease :-)\n"
+ "\n"
+ "# Add <img> tags to your html with ease :-)\n"
"newimg -q -L \"<img src=\\\"%%f\\\" alt=\\\"%%n\\\" border=\\\"0\\\" width=\\\"%%w\\\" height=\\\"%%h\\\">\"\n"
- "\n" "# Different menus\n"
- "chrome --menu-bg " PREFIX
- "/share/feh/images/menubg_chrome.png\n"
- "brushed --menu-bg " PREFIX
- "/share/feh/images/menubg_brushed.png\n"
- "pastel --menu-bg " PREFIX
- "/share/feh/images/menubg_pastel.png\n"
- "aluminium --menu-bg " PREFIX
- "/share/feh/images/menubg_aluminium.png\n"
- "wood --menu-bg " PREFIX
- "/share/feh/images/menubg_wood.png\n"
- "aqua --menu-bg " PREFIX
- "/share/feh/images/menubg_aqua.png\n"
- "sky --menu-bg " PREFIX
- "/share/feh/images/menubg_sky.png\n"
- "orange --menu-bg " PREFIX
- "/share/feh/images/menubg_orange.png\n"
- "light --menu-bg " PREFIX
- "/share/feh/images/menubg_light.png\n"
- "black --menu-bg " PREFIX
- "/share/feh/images/menubg_black.png --menu-style "
+ "\n"
+ "# Different menus\n"
+ "chrome --menu-bg "
+ PREFIX "/share/feh/images/menubg_chrome.png\n"
+ "brushed --menu-bg "
+ PREFIX "/share/feh/images/menubg_brushed.png\n"
+ "pastel --menu-bg "
+ PREFIX "/share/feh/images/menubg_pastel.png\n"
+ "aluminium --menu-bg "
+ PREFIX "/share/feh/images/menubg_aluminium.png\n"
+ "wood --menu-bg "
+ PREFIX "/share/feh/images/menubg_wood.png\n"
+ "aqua --menu-bg "
+ PREFIX "/share/feh/images/menubg_aqua.png\n"
+ "sky --menu-bg "
+ PREFIX "/share/feh/images/menubg_sky.png\n"
+ "orange --menu-bg "
+ PREFIX "/share/feh/images/menubg_orange.png\n"
+ "light --menu-bg "
+ PREFIX "/share/feh/images/menubg_light.png\n"
+ "black --menu-bg "
+ PREFIX "/share/feh/images/menubg_black.png"
+ " --menu-style "
PREFIX "/share/feh/fonts/black.style\n");
fclose(fp);