DSL Tips and Tricks :: JWM Tray Icons



thought i would put a up to date pic  :D

http://img127.imageshack.us/img127/9574/185301qw3.png

.jwmrc for your pickings

[CODE]
<?xml version="1.0"?>

<JWM>
<StartupCommand>
exec ~/.startup
</StartupCommand>

  <IconPath>
     $HOME/.icons
  </IconPath>
  <RootMenu height="20" onroot="3">
     <Program label="Command">grun</Program>
     <Separator/>
     <Program label="Rox-filer">rox</Program>
     <Program label="Terminal">xterm -g +0+0</Program>
     <Program label="Iceape">iceape</Program>
     <Program label="Synaptic">sudo synaptic</Program>
     <Menu label="Office">
     <Program label="Xcalc">xcalc</Program>
     <Program label="MTpaint">mtpaint</Program>
     <Program label="Abiword">abiword</Program>
     </Menu>
     <Separator/>
     <Restart label="Restart"/>
     <Menu label="Exit">
     <Exit label="Exit" confirm="false"/>
     <Program label="Reboot">sudo shutdown -r now</Program>
     <Program label="Shutdown">sudo shutdown -h now</Program>
     </Menu>
  </RootMenu>

  <Tray  x="0" y="0" layer="0">
     <Swallow name="xterm">xterm -e mc</Swallow>
  </Tray>

  <Tray  x="-5" y="-40" height="64" layer="0">
     <TrayButton icon="off.png">exec:sleep 5;xset dpms force off</TrayButton>
  </Tray>

  <Tray y="-1" halign="left" height="22" layer="12">
     <TrayButton label="JWM Desktop">root:3</TrayButton>
     <TrayButton label="&#8681;  ">showdesktop</TrayButton>
     <TrayButton label="Grun">exec:grun</TrayButton>
     <TrayButton label="Xterm">exec:xterm -g +0+0</TrayButton>
     <TrayButton label="Rox-filer">exec:rox</TrayButton>
     <TrayButton label="Iceape">exec:iceape</TrayButton>
  </Tray>
 
  <Tray y="-1" halign="right" height="22" layer="12">
     <TrayButton label="&#9760;">exec:amixer set PCM toggle</TrayButton>
     <TrayButton label="&#11011;">exec:amixer set PCM 5%- unmute</TrayButton>
     <TrayButton label="&#11008;">exec:amixer set PCM 5%+ unmute</TrayButton>
     <Clock width="70" format="%l:%M%P">xterm -e alsamixer</Clock>
  </Tray>

  <Tray  x="0" y="-21" height="22" layer="12">
     <TaskList/>
     <Dock/>
     <Pager/>
  </Tray>

  <WindowStyle>
  <Font>-*-dejavu sans mono-*-*-*-*-12-*-*-*-*-*-*-*</Font>
     <Width>1</Width>
     <Height>15</Height>

     <Active>
        <Text>yellow</Text>
        <Title>gray:black</Title>
        <Corner>black</Corner>
        <Outline>black</Outline>
     </Active>

     <Inactive>
        <Text>white</Text>
        <Title>gray:black</Title>
        <Corner>black</Corner>
        <Outline>black</Outline>
     </Inactive>
  </WindowStyle>

  <TaskListStyle>
  <Font>-*-dejavu sans mono-*-*-*-*-12-*-*-*-*-*-*-*</Font>
     <ActiveForeground>yellow</ActiveForeground>
     <ActiveBackground>#303438</ActiveBackground>
     <Foreground>white</Foreground>
     <Background>#303438:black</Background>
  </TaskListStyle>

  <TrayStyle>
  <Font>-*-dejavu sans mono-*-*-*-*-12-*-*-*-*-*-*-*</Font>
     <Background>black</Background>
     <Foreground>white</Foreground>
  </TrayStyle>

  <PagerStyle>
     <Outline>black</Outline>
     <Foreground>white</Foreground>
     <Background>black</Background>
     <ActiveForeground>yellow</ActiveForeground>
     <ActiveBackground>#303438</ActiveBackground>
  </PagerStyle>

  <MenuStyle>
  <Font>-*-dejavu sans mono-*-*-*-*-12-*-*-*-*-*-*-*</Font>
     <Foreground>white</Foreground>
     <Background>#303438</Background>
     <ActiveForeground>yellow</ActiveForeground>
     <ActiveBackground>#303438:black</ActiveBackground>
  </MenuStyle>

  <PopupStyle enabled="false">
  <Font>-*-dejavu sans mono-*-*-*-*-12-*-*-*-*-*-*-*</Font>
     <Outline>black</Outline>
     <Foreground>black</Foreground>
     <Background>yellow</Background>
  </PopupStyle>

  <IconPath>
     $HOME/.backgrounds
  </IconPath>
  <Desktops count="4">
  <Background type="solid">black</Background>
  </Desktops>

  <DoubleClickSpeed>400</DoubleClickSpeed>
  <DoubleClickDelta>2</DoubleClickDelta>
  <FocusModel>click</FocusModel>
  <SnapMode distance="1">none</SnapMode>
  <MoveMode>outline</MoveMode>
  <ResizeMode>outline</ResizeMode>

  <Key key="Up">up</Key>
  <Key key="Down">down</Key>
  <Key key="Right">right</Key>
  <Key key="Left">left</Key>
  <Key key="h">left</Key>
  <Key key="j">down</Key>
  <Key key="k">up</Key>
  <Key key="l">right</Key>
  <Key key="Return">select</Key>
  <Key key="Escape">escape</Key>

  <Key mask="A" key="Tab">nextstacked</Key>
  <Key mask="A" key="F4">close</Key>
  <Key mask="A" key="#">desktop#</Key>
  <Key mask="A" key="F1">root:3</Key>
  <Key mask="A" key="F2">exec:grun</Key>
  <Key mask="" key="Print">exec:scrot %T.png;xmessage -timeout 2 "screen shot done"</Key>
  <Key mask="A" key="Print">exec:xterm -g 35x1+0+0 -e scrot -cd 5 %T.png</Key>
  <Key mask="C" key="Print">exec:xterm -g 10x0+0+0 -e scrot -sb %T.png</Key>
  <Key mask="C" key="F3">exec:amixer set PCM 5%- unmute</Key>
  <Key mask="C" key="F4">exec:amixer set PCM 5%+ unmute</Key>
</JWM>

u got a very nice desktop :)
i would have chosen a different font for conky/torsmo though xD

i'll try to post my desk here too.

my vision is not that great, so i prefer the clean straight fonts, i know i'm suppose to wear my glasses, but i just don't. :D

original here.