Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (4) </ [1] 2 3 4 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Joe's Window Manager, configuring and using JWM< Next Oldest | Next Newest >
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Nov. 11 2005,20:54 QUOTE

Themes

I've been messing around with simple ways to "skin" JWM without needing to manually edit .jwmrc every time i want a visual change.  Fortunately the configuration allows you to include additional config files, and fortunately you can override the settings in .jwmrc by adding new settings in the external files.  This requires adding a new tag to .jwmrc, just before the </JWM> tag:
Code Sample
<Include>/path/to/file</Include>


So here are a few that were based on fluxbox styles in DSL....

Simple:
Code Sample
<?xml version="1.0"?>
<JWM>
<!-- JWM theme loosely based on the "Simple" Fluxbox style -->
<StartupCommand>xsri --color=black --center-x --center-y --emblem /usr/share/fluxbox/backgrounds/tux_c_logo.jpg</StartupCommand>
       <Border>
               <Font antialias="false">-adobe-helvetica-medium-r-normal--12-*</Font>
               <Foreground>grey</Foreground>
               <Background>#666666</Background>
               <ActiveForeground>white</ActiveForeground>
               <ActiveBackground>#333333</ActiveBackground>
       </Border>
       <Tray>
               <Font antialias="false">-adobe-helvetica-medium-r-normal--12-*</Font>
               <Foreground>white</Foreground>
               <Background>#666666</Background>
               <ActiveForeground>white</ActiveForeground>
               <ActiveBackground>#333333</ActiveBackground>
       </Tray>
       <Pager>
               <Outline>#666666</Outline>
               <Foreground>#333333</Foreground>
               <Background>#333333</Background>
               <ActiveForeground>white</ActiveForeground>
               <ActiveBackground>grey</ActiveBackground>
       </Pager>
       <Load>
               <Outline>white</Outline>
               <Foreground>white</Foreground>
               <Background>#333333</Background>
       </Load>
       <Popup>
               <Font antialias="false">-adobe-helvetica-medium-r-normal--12-*</Font>
               <Outline>#666666</Outline>
               <Foreground>black</Foreground>
               <Background>grey</Background>
       </Popup>
       <Menu>
               <Font antialias="false">-adobe-helvetica-medium-r-normal--12-*</Font>
               <Foreground>white</Foreground>
               <Background>#666666</Background>
               <ActiveForeground>white</ActiveForeground>
               <ActiveBackground>black</ActiveBackground>
       </Menu>
</JWM>

Fissure2:
Code Sample
<?xml version="1.0"?>
<JWM>
<!-- JWM theme loosely based on the "Fizzure2" Fluxbox style -->
<StartupCommand>xsri --scale-width=100 --scale-height=100 /usr/share/fluxbox/backgrounds/fractalMovementscape.jpg</StartupCommand>
       <Border>
               <Font antialias="false">-*-helvetica-*-r-*-*-12-*-*-*-*-*-*-*</Font>
               <Foreground>black</Foreground>
               <Background>#a6a6a6</Background>
               <ActiveForeground>#fefefe</ActiveForeground>
               <ActiveBackground>#2152c5</ActiveBackground>
       </Border>
       <Tray>
               <Font antialias="false">-*-helvetica-*-r-*-*-12-*-*-*-*-*-*-*</Font>
               <Foreground>black</Foreground>
               <Background>#a6a6a6</Background>
               <ActiveForeground>#fefefe</ActiveForeground>
               <ActiveBackground>#2152c5</ActiveBackground>
       </Tray>
       <Pager>
               <Outline>#888888</Outline>
               <Foreground>black</Foreground>
               <Background>#2152c5</Background>
               <ActiveForeground>#fefefe</ActiveForeground>
               <ActiveBackground>#4184de</ActiveBackground>
       </Pager>
       <Load>
               <Outline>white</Outline>
               <Foreground>DarkOrange2</Foreground>
               <Background>#2152c5</Background>
       </Load>
       <Popup>
               <Font antialias="false">-*-helvetica-*-r-*-*-12-*-*-*-*-*-*-*</Font>
               <Outline>#a6a6a6</Outline>
               <Foreground>#fefefe</Foreground>
               <Background>#2152c5</Background>
       </Popup>
       <Menu>
               <Font antialias="false">-*-helvetica-*-r-*-*-12-*-*-*-*-*-*-*</Font>
               <Foreground>black</Foreground>
               <Background>#a6a6a6</Background>
               <ActiveForeground>#fefefe</ActiveForeground>
               <ActiveBackground>#2152c5</ActiveBackground>
       </Menu>
</JWM>

BizCard:
Code Sample
<?xml version="1.0"?>
<JWM>
<!-- JWM theme loosely based on the "BizCard" Fluxbox style -->
<StartupCommand>xsri --color=#3a1f61 --color2=#000000 --vgradient --center-x --center-y --emblem /usr/share/fluxbox/backgrounds/BizCard_c.png</StartupCommand>
       <Border>
               <Font antialias="false">-adobe-helvetica-medium-r-normal--12-*</Font>
               <Foreground>grey</Foreground>
               <Background>black</Background>
               <ActiveForeground>white</ActiveForeground>
               <ActiveBackground>#444444</ActiveBackground>
       </Border>
       <Tray>
               <Font antialias="false">-adobe-helvetica-medium-r-normal--12-*</Font>
               <Foreground>grey</Foreground>
               <Background>#111111</Background>
               <ActiveForeground>white</ActiveForeground>
               <ActiveBackground>#444444</ActiveBackground>
       </Tray>
       <Pager>
               <Outline>#888888</Outline>
               <Foreground>#121212</Foreground>
               <Background>#3a1f61</Background>
               <ActiveForeground>grey</ActiveForeground>
               <ActiveBackground>#121212</ActiveBackground>
       </Pager>
       <Load>
               <Outline>white</Outline>
               <Foreground>white</Foreground>
               <Background>#3a1f61</Background>
       </Load>
       <Popup>
               <Font antialias="false">-adobe-helvetica-medium-r-normal--12-*</Font>
               <Outline>grey</Outline>
               <Foreground>white</Foreground>
               <Background>#3a1f61</Background>
       </Popup>
       <Menu>
               <Font antialias="false">-adobe-helvetica-medium-r-normal--12-*</Font>
               <Foreground>white</Foreground>
               <Background>black</Background>
               <ActiveForeground>white</ActiveForeground>
               <ActiveBackground>#888888</ActiveBackground>
       </Menu>
</JWM>


EDIT: I just noticed that I left the "antialias" attribute in the font tags, which is probably not necessary.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Nov. 12 2005,05:35 QUOTE

Nice job, mikshaw! I am using your Fissure2 theme.
Back to top
Profile PM WEB 
from the jwm advocate
Unregistered






Posted: Nov. 12 2005,15:57 QUOTE

if you all want i have several already created themes on my project site.  
there is also some minor projects created for JWM there also


My Webpage
Back to top
crusadingknight Offline





Group: Members
Posts: 65
Joined: Nov. 2005
Posted: Nov. 13 2005,02:43 QUOTE

Methinks it may be possible to hack a simple lua or Tcl/Tk script to manage themes under JWM, if no such thing exists yet?

--------------
System:
eTower 566.12, 32MB RAM, 7GB HD, 200MB swap, 1x USB v.1, Intel 810GFX, Intel 810 Audio.
Recompiled so far: Pretty much everything. I think I'll have to do a remaster to cut the growing bloat off my system.
Back to top
Profile PM WEB MSN 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Nov. 13 2005,03:59 QUOTE

Yes it would...or even a bash or flua script.  I'm doing this very thing.
Currently i have the "Include" tag pointing to a symlink called "default" rather than a specific theme file, much like DSL does with fluxbox themes, so i don't have to change that tag....just have to create a new symlink to the appropriate theme.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
19 replies since Nov. 11 2005,20:54 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (4) </ [1] 2 3 4 >/
reply to topic new topic new poll
Quick Reply: Joe's Window Manager

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code