Creating compatible JWM Themes

===============================

JWM Themes

~~~~~~~~~~~

You can use the template provided by JoesBox
to create JWM Themes. Check it out here:

joes_box

Alternatively, just check out this theme for
an example.

A JWM theme that is compatible with jwmThemeSwitcher
will usually have three files:

* The configuration file that follows the above template;
* A desktop background image; and
* A script that, when run, changes the desktop background.

The configuration file should be named as follows:

jwm-theme-name

This will provide consistency, and will ensure
jwmThemeSwitcher runs correctly. Additionally, to
make jwmThemeSwitcher is aware of the theme's existence,
you should add a line to the themeslist file
which includes the theme config file name and the theme name.
You can do so by adding the following line to your dotpup.sh
file (or by typing it at the command line, of course!):

echo "jwm-theme-name Theme_Name" >> /root/.jwm/themes/themeslist

Please remember: NO SPACES!! XDialog, which is used in
jwmThemeSwitcher, can't cope with them, and I couldn't
be bothered parsing the themeslist file to replace spaces :(

The desktop background image can be named whatever you like!

In order to change the desktop background, you should provide
a script for jwmThemeSwitcher to call. The script should be
named like this:

bg-jwm-theme-name

where "theme-name" is the same as the "theme-name" part of your
theme configuration file name. The script is easy to write: you
can follow this example.