Port Themes to Jekyll

This commit is contained in:
Doug Torrance
2018-05-11 10:53:33 -04:00
parent dc2d19f72f
commit cc3f37ab2b
12 changed files with 31 additions and 129 deletions

Binary file not shown.

View File

@@ -0,0 +1,13 @@
NeXT-style "retro" theme for WindowMaker
This is the them I'm using at work. It is a mixture of styles I ran across, and it
does not try to be "modern" in any way (I like the old look), however I do like some
eye candy, thus I added a nice background image. The background was taken from the
wonderful "Fenris" theme found at [1].
I distribute the theme under the GNU general public license [2].
[1] http://lonelymachines.org/windowmaker-themes/pastoral-themes/
[2] http://www.gnu.org/licenses/gpl.txt
Martin Dietze (martin at the-little-red-haired-girl.org)

View File

@@ -0,0 +1,8 @@
Dockapps used in this screenshot (from above):
- fookb-wmaker
- wmtime
- wmcube
- wmacpi
- wmmixer
- docker

7
themes/example-lsm.txt Normal file
View File

@@ -0,0 +1,7 @@
Theme Name : Foobar
Author : Chuck Effbiesdee <chuck@effbiesdee.com>
Description : A theme about being Chuck and stuff such as that.
Copyright : Chuck Effbiesdee background is courtesy of
www.chuck-effbiesdee.com
Background is in .jpg format.
Colors, tiles and title/menu bars are courtesy of me.

View File

@@ -11,8 +11,8 @@ title: Themes
<h2>Documentation</h2>
<ul>
<li><a href="themepacks.php">ThemePacks HOWTO</a></li>
<li><a href="theme-HOWTO.php">Theme HOWTO</a> (out of date)</li>
<li><a href="themepacks.html">ThemePacks HOWTO</a></li>
<li><a href="theme-HOWTO.html">Theme HOWTO</a> (out of date)</li>
</ul>
<h2>Links</h2>

Binary file not shown.

After

Width:  |  Height:  |  Size: 731 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 103 KiB

View File

@@ -0,0 +1,24 @@
---
layout: default
title: Theme HOWTO - Directories
---
<br />
<br />
Please use only Window Maker standard directory sructures. This means don't
stick your titlebars in a directory under "~/GNUstep/Library/WindowMaker/Titlebars"
and your Tiles under "~/GNUstep/Library/WindowMaker/Tiles". Please use
<tt>~/GNUstep/Library/WindowMaker/Pixmaps</tt> for all tiles and menu/titlebar images,
<tt>~/GNUstep/Library/WindowMaker/Icons</tt> for any icons you include
and <tt>~/GNUstep/Library/WindowMaker/Backgrounds</tt> for your backgrounds.
<br><br>
</td>
</tr>
</table>
<?php include("footer.php"); ?>
</body>
</html>

View File

@@ -0,0 +1,20 @@
---
layout: default
title: Theme HOWTO - GIFs
---
<br />
<br />
Please do not use gifs or other large file formats as your background images.
Although Window Maker does now include .gif support,
most backgrounds (unless they are small tiles) are at least 640x480.
and this makes for a <b>huge</b> gif file, generally in the 1meg+ range.<br>
The same file as a .jpg could be as much as 95% smaller or more!<br>
(also see <a href="http://www.gnu.org/philosophy/gif.html">here</a> for another good
reason not to use GIFs),
<br><br>
Also when using an image as the Background, if you choose to remove the file
extension, please include the file format of it in the .lsm for your theme.
<a href="example-lsm.txt">See here</a> for an example <tt>readme.lsm</tt> file.
<br><br>

View File

@@ -0,0 +1,41 @@
---
layout: default
title: Theme HOWTO - Tar'ing your theme
---
<br />
<br />
Here's a quick guide to tar'ing your theme up:<br>
cd to your <tt>~/GNUstep/Library/WindowMaker/</tt> directory, and type something like
the following: (replacing the file names appropriately for your theme)
</font>
<p>
<ol>
<li> <tt>tar -cvf Foo.tar Foo.lsm Backgrounds/FooBG.jpg Pixmaps/FooTile.xpm
Icons/FooIcon.xpm Themes/Foo</tt>
<br><br>
<li> <tt>gzip -9 Foo.tar</tt>
<br><br>
</ol>
This should leave you with a nice new <tt>Foo.tar.gz</tt> theme which includes (in this case),
the theme file (<tt>Themes/Foo</tt>), the background wallpaper (<tt>Backgrounds/FooBG.jpg</tt>),
a tile (<tt>Pixmaps/FooTile.xpm</tt>), an icon for the dock (<tt>Icons/FooIcon.xpm</tt>)
and a readme file (<tt>Foo.lsm</tt>).<br>
LSM files for your themes are a must. The format of the LSM file is
easy. Click <a href="example-lsm.txt">here</a> for an example.
<p>
If you're having trouble, try typing '<tt>man tar</tt>' or ask for help on irc
in the #WindowMaker channel on EFnet. If all else fails, you can
<a href="{{ site.baseurl }}/lists/wmaker-dev.html">contact us</a> and we'll try and help you out,
but please try the other methods first. Thanks.
<p>
Also, your theme file should NOT include your <tt>~/GNUstep/Defaults/WindowMaker</tt>
file! This will overwrite the person who downloads the theme's keybindings
and other personalized settings.
Also do NOT include any files other those from the directories I mentioned
above. For example, do NOT include your <tt>menu</tt> file or anything from your
<tt>~/GNUstep/Defaults/</tt> directory. ONLY include files from the directories
listed above and the readme.lsm file.

49
themes/theme-HOWTO.html Normal file
View File

@@ -0,0 +1,49 @@
---
layout: default
title: Theme HOWTO
---
<br />
<br />
<h1>Theme HOWTO</h1>
<b>WARNING: This is for OLD style theme's only as is OUT OF DATE. Support for this format may be dropped
eventually and is not actively supported. Use this at your own risk!! Unless you have reason to do otherwise,
PLEASE use the <a href="themepacks.html">new ThemePack format</a>!!!</b>
<p>
For those of you that like to get in there and do it yourselves, or just want a theme
that is truely yours, here are some helpful guidelines to follow to have your theme
be as simple, standard and user friendly as possible. See <a href="themepacks.html">here</a>
for info on the new ThemePack format.
<p align="right">
Have fun!<br>
<font size="5">
<i>-Largo</i>
</font>
</p>
<br>
<ul>
<li>
tar up your theme so that if the user untars it while in his/her
<tt>~/GNUstep/Library/WindowMaker</tt>...the theme will instantly appear in their menu.
<a href="theme-HOWTO-tar.html">Here's a quick guide to tar'ing your theme up</a>.
<br><br>
<li> Please use only Window Maker standard directory sructures. <a href="theme-HOWTO-dirs.html">details</a>
<br><br>
<li>
Please use jpeg's as your background images. <a href="theme-HOWTO-gifs.html">details</a>
<br><br>
</ul>
All set! Now you can share it with your friends. :)<br>
If you have any further questions, or comments on possible additions to this HOWTO, please
<a href="{{ site.baseurl }}/lists/wmaker-dev.html">let us know</a>. Thanks!

103
themes/themepacks.html Normal file
View File

@@ -0,0 +1,103 @@
---
layout: default
title: ThemePacks HOWTO
---
<br />
<br />
<h1>ThemePacks HOWTO</h1>
<h2>Themes (Theme Packs) For Window Maker</h2>
<b>Note:</b> the information contained in this file is only valid for themes
in the <tt>.themed</tt> (for theme directory) format, supported in
Window Maker 0.50.0 or newer. See <a href="theme-HOWTO.html">here</a> for
information on themes for WindowMaker-0.20.3 and earlier.
<br><br><br>
<h2>How To Install a Theme Pack</h2>
To install a theme, unpack your theme into your <tt>WindowMaker</tt> directory
(the same as old-style themes), usually <tt>~/GNUstep/Library/WindowMaker</tt>
<br><br>
<tt>cd ~/GNUstep/Library/WindowMaker</tt><br>
<tt>gzip -dc "xyztheme.tar.gz" | tar xvf -</tt>
<br><br>
You can also do this in your system-wide <tt>WindowMaker</tt> directory (usually
<tt>/usr/local/share/WindowMaker</tt>) to have the themes be available to all
your users. This will probably need to be done with root access.
<br><br><br>
<h2>How To Load a Theme</h2>
After installing a theme, it will automatically show up in your menu under <b>Appearance -> Themes -> ThemeName</b>.
(unless of course you have manually changed your menu to remove this) If you have your Themes menu already opened and
pinned to your desktop, you may need to close it and reopen it to have it show the new theme.
<br><br>
To manually load the new theme from the command line, use the <tt>setstyle</tt> command. Example:
<br><br>
<tt>setstyle xyztheme.themed</tt>
<br><br>
Note that if you move the directory of the theme (for example, from
<tt>~/GNUstep/Library/WindowMaker/Themes</tt> to <tt>/usr/local/share/WindowMaker/Themes</tt>)
you will have to reload that theme so that path information is updated.
<br><br><br>
<h2>How To Make a Theme Pack</h2>
To create a theme pack from your current configuration, use the <tt>getstyle</tt>
utility with the <tt>-p</tt> flag. Example:
<br><br>
<tt>getstyle -p ~/GNUstep/Library/WindowMaker/Themes/MyTheme</tt>
<br><br>
This will create a theme pack (a new directory in either the current
directory or a directory you specify) named <tt>MyTheme.themed</tt>, containing
everything it requires, including all pixmap files. In this example,
the new theme pack would be made in your <tt>themes</tt> directory and be
immediately available in your "Themes" menu.
<br><br>
Additionally, you can put a text file named <tt>MyTheme.lsm</tt> in the <tt>MyTheme.themed</tt>
directory. This file can contain info like copyrights, credits or whatever.
<br><br>
To distribute your theme, just make a <tt>.tar.gz</tt> of the <tt>.themed</tt> directory.
This is preferably done from the same directory that you unpack the themes
from to maintain consistancy with the old theme format.
<br><br>
Example:
<br><br>
<tt>cd ~/GNUstep/Library/WindowMaker</tt><br>
<tt>tar cvf MyTheme.tar Themes/MyTheme.themed</tt><br>
<tt>gzip MyTheme.tar</tt>
<br><br><br>
<h2>How To Delete a Theme Pack</h2>
Just remove the <tt>.themed</tt> directory. Example:
<br><br>
<tt>cd ~/GNUstep/Library/WindowMaker/Themes</tt><br>
<tt>rm -fr themename.themed</tt>
<br><br><br>
<h2>How To Save Disk Space</h2>
If you have more than 1 theme that use the same huge background image,
you can delete all the duplicated files and then create hard links in
place of them. For example, if you have:
<br><br>
<tt>theme1.themed/back.jpg</tt>
<br><br>
<tt>theme2.themed/backimage.jpg</tt>
<br><br>
<tt>theme3.themed/back.jpg</tt>
<br><br>
and all three files contain the same image, you can do:
<br><br>
<tt>rm theme2.themed/backimage.jpg</tt><br>
<tt>rm theme3.themed/back.jpg</tt><br>
<tt>ln theme1.themed/back.jpg theme2.themed/backimage.jpg</tt><br>
<tt>ln theme1.themed/back.jpg theme3.themed/back.jpg</tt>
<p/>
<p/>
&nbsp;