fvwm-theme (not to be confused with the FVWM Themes project, which you should really check out before running my jerry-rigged scripts :-) is a Perl script which handles background setting, window decor switching, and terminal-theme switching. It also stores the current settings in ~/.fvwm-theme so that they can be restored at next startup. I didn't really design the thing for public consumption when I wrote it, so you may have to tweak it a bit if you want to put it to work on your own system. Take a look at the stuff under "Configurable Constants" especially.
fvwm-theme works from the directory /usr/local/share/fvwm-theme, henceforth dubbed $SHARE_DIR. Wallpapers go under $SHARE_DIR/backgrounds (which can be hierarchical, if you like to sort your backgrounds into categories), window decoration themes under $SHARE_DIR/decors, each in its own subdirectory, and terminal themes under $SHARE_DIR/terms. The qiv image viewer is used to set wallpaper but you can easily change this if you want.
fvwm-theme also supports "meta themes"--files under $SHARE_DIR/themes which specify an option for each theme component.
Here's a sample terminal theme file:
backgroundPixmap=/usr/local/share/pixmaps/wood.xpm background=white foreground=black bold=#800000 red=#602010 green=#005038 yellow=#003810 blue=#000060 magenta=#600080 cyan=#407080 white=#D0D0D0
(Two possible options not seen above are "transparent" and "shading=<N>%".)
And here's a sample meta-theme file:
background=tux/bluespace.png decor=e17 term=transparent_dark_bg
For gobs of sample window decoration themes, see below.
A complication: fvwm-theme won't work with the current, stable Fvwm. It requires a new feature I've developed which allows full pixmap-themed titlebars (with different pixmaps for different parts of the titlebar). This feature has been accepted into CVS and is present in development releases (which are actually quite functional in my experience), but is not yet in a stable release. You can either wait patiently, use a development version of Fvwm, or apply the patch I've developed against Fvwm 2.4.9 (which should work on later 2.4.x versions as well).
If you choose to apply the patch to 2.4.x, you will have to manually edit config.h (after applying the patch and doing ./configure), uncomment the FANCY_TITLEBARS line and change #undef FANCY_TITLEBARS to #define FANCY_TITLEBARS. Then read "man fvwm" to learn how to use it.
Below are some of the window decorations I use, gathered and converted from other WM's theme sites. "Elberg" was converted by Adam Weinberger, the rest by me. "Eazel Forest" and "Playstation Green" are my own creations, insofar as fiddling with the color of an existing theme counts as "creation" ;-) If you are the author of any of these themes and object to my distribution of it, or just want me to include a license, let me know.
To use any of these themes with fvwm-theme, unpack the downloaded tarball into $SHARE_DIR/decors.
|Active Titlebar (shaded)||Download|
Site Updated: 2011/April/04
Copyright © 2011, All Rights Reserved. Check the credits before you borrow any of the graphics on these pages.