Click to See Complete Forum and Search --> : Porting Themes


linux12414
11-30-2002, 10:44 PM
I want to port some of my own Flux/Blackbox themes to WindowMaker.

Does anyone know of any documentation on how to write a WindowMaker theme? I've studied some style files, and it looks OK, except for a few minor design problems--must be something I'm not doing correctly--namely the menu graphics.

Can anyone suggest some resources?

Thanks

janet loves bill
11-30-2002, 11:17 PM
How To Make a Theme Pack
========================

To create a theme pack from your current configuration, use the getstyle
utility with the -p flag. Example:

getstyle -p ~/GNUstep/Library/WindowMaker/Themes/MyTheme

This will create a theme pack (a new directory in either the current
directory or a directory you specify) named MyTheme.themed, containing
everything it requires, including all pixmap files. In this example,
the new theme pack would be made in your themes directory and be
immediately available in your Themes menu.

Additionally, you can put a text file named MyTheme.lsm in the MyTheme.themed
directory. This file can contain info like copyrights, credits or whatever.

To distribute your theme, just make a .tar.gz of the .themed directory.
This is preferably done from the same directory that you unpack the themes
from to maintain consistancy with the old theme format.

Example:

cd ~/GNUstep/Library/WindowMaker
tar cvf MyTheme.tar Themes/MyTheme.themed
gzip MyTheme.tar