Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1175239
  • 博文数量: 341
  • 博客积分: 12744
  • 博客等级: 上将
  • 技术积分: 4040
  • 用 户 组: 普通用户
  • 注册时间: 2008-05-12 09:34
文章分类
文章存档

2014年(1)

2013年(10)

2012年(17)

2011年(63)

2010年(102)

2009年(107)

2008年(41)

分类: LINUX

2009-08-22 09:36:04


<?xml version="1.0"?>

<JWM>

   <!-- The root menu, if this is undefined you will not get a menu. -->
   <!-- Additional RootMenu attributes: onroot, labeled, label -->
   <RootMenu height="16" onroot="123">
        <Program label=" 虚拟终端">urxvt</Program>
        <Program label=" 文件管理器">rox</Program>
        <Program label=" 文本编辑器">gvim</Program>
        <Program label=" 网络浏览器">firefox</Program>
        <Program label=" 音频播放器">audacious</Program>
        <Program label=" 虚拟机软件">VirtualBox</Program>
        <Program label=" 图像处理软件">gimp</Program>

      <Separator/>
        <Exit label=" 立即退出jwm" confirm="true"/>
   </RootMenu>

   <Group>
     <Class>BOffice</Class>
     <Option>nolist</Option>
   </Group>

   <!-- Additional tray attributes: autohide, width, border, layer, layout -->
   <Tray x="0" y="-1" height="32">

      <!-- Additional TrayButton attribute: label -->
      <TrayButton icon="debian.png" label="JWM">root:1</TrayButton>

      <TrayButton label="_">showdesktop</TrayButton>

      <!-- Additional Pager attributes; width, height -->
      <Pager/>

      <!-- Additional TaskList attribute: maxwidth -->
      <TaskList/>

      <Dock/>

      <!-- Additional Swallow attribute: height -->
      <Swallow name="xload" width="52">
         xload -nolabel -bg black -fg green -update 2
      </Swallow>

      <Clock></Clock>

   </Tray>

   <!-- Visual Styles -->

   <WindowStyle>

      <Font>LiHei Pro-13</Font>
      <Width>4</Width>
      <Height>22</Height>

      <Active>
         <Text>black</Text>
         <Title>#d0ced0:#f0eef0</Title>
         <Corner>lightgray</Corner>
         <Outline>#808080</Outline>
      </Active>

      <Inactive>
         <Text>#8f8f8f</Text>
         <Title>#f0eef0:#eeeeee</Title>
         <Corner>lightgray</Corner>
         <Outline>gray90</Outline>
      </Inactive>

   </WindowStyle>

   <TaskListStyle>
     <Font>LiHei Pro-14</Font>
      <ActiveForeground>black</ActiveForeground>
      <ActiveBackground>gray90:gray70</ActiveBackground>
      <Foreground>#6f6f6f</Foreground>
      <Background>#d0ced0:#f0eef0</Background>
   </TaskListStyle>

   <!-- Additional TrayStyle attribute: insert -->
   <TrayStyle>
     <Font>文泉驿正黑-14:bold</Font>
     <Background>#f0eef0</Background>
      <Foreground>black</Foreground>
   </TrayStyle>

   <PagerStyle>
      <Outline>black</Outline>
      <Foreground>gray90</Foreground>
      <Background>#808488</Background>
      <ActiveForeground>#70849d</ActiveForeground>
      <ActiveBackground>#2e3a67</ActiveBackground>
   </PagerStyle>

   <MenuStyle>
      <Font>LiHei Pro-12</Font>
      <Foreground>black</Foreground>
      <Background>#f0eef0</Background>
      <ActiveForeground>white</ActiveForeground>
      <ActiveBackground>#70849d:#2e3a67</ActiveBackground>
   </MenuStyle>

   <PopupStyle>
      <Font>LiHei Pro-14</Font>
      <Outline>black</Outline>
      <Foreground>black</Foreground>
      <Background>lightgray</Background>
   </PopupStyle>

   <IconPath>
     $HOME/.icons
   </IconPath>

   <!-- Virtual Desktops -->
   <!-- Desktop tags can be contained within Desktops for desktop names. -->
   <Desktops count="2">

      <!-- Default background. Note that a Background tag can be
           contained within a Desktop tag to give a specific background
           for that desktop.
       -->
      <!-- Background type="tile">$HOME/bg.xpm</Background -->

   </Desktops>

   <!-- Double click speed (in milliseconds) -->
   <DoubleClickSpeed>400</DoubleClickSpeed>

   <!-- Double click delta (in pixels) -->
   <DoubleClickDelta>2</DoubleClickDelta>

   <!-- The focus model (sloppy or click) -->
   <FocusModel>click</FocusModel>

   <!-- The snap mode (none, screen, or border) -->
   <SnapMode distance="18">border</SnapMode>

   <!-- The move mode (outline or opaque) -->
   <MoveMode>opaque</MoveMode>

   <!-- The resize mode (outline or opaque) -->
   <ResizeMode>opaque</ResizeMode>

   <!-- Key bindings -->
   <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:1</Key>
   <Key mask="A" key="F2">exec:fbrun</Key>
   <Key mask="A" key="x">exec:urxvtc; if [ $? -eq 2 ]; then urxvtd -q -o -f ; urxvt ; fi</Key>
   <Key mask="A" key="z">exec:firefox</Key>
   <Key mask="A" key="c">exec:rox</Key>
   <Key mask="A" key="F3">maximize</Key>
   <Key mask="A" key="F5">minimize</Key>
   <Key mask="A" key="r">restart</Key>
   <Key mask="A" key="s">exec:qq 2>/dev/null 1>/dev/null</Key>
   <Key mask="H" key="x">resize</Key>
   <Key mask="H" key="z">move</Key>
   <Key mask="A" key="q">exec:VirtualBox</Key>
   <Key mask="A" key="w">exec:gvim</Key>
   <Key mask="A" key="e">exec:wicd-client 1>/dev/null 2>/dev/null</Key>
   <Key mask="A" key="d">exec:if [ -z `pstree|grep stardict` ]; then stardict;else pkill stardict; fi</Key>
   <Key mask="A" key="p">exec:/root/.mpd/mpc_ps.sh</Key>
   <Key mask="A" key="o">exec:/root/.mpd/mpc_show.sh</Key>
   <Key mask="A" key="n">exec:/root/.mpd/mpc_next.sh</Key>
   <Key mask="A" key="y">exec:reboot</Key>
   <Key mask="A" key="h">exec:halt</Key>
   <Key mask="A" key="i">exec:gimp</Key>
   <Key mask="A" key="g">exec:gqview</Key>
   <Key mask="A" key="v">exec:urxvt -e alsamixer</Key>
   <Key mask="A" key="k">exec:k3b 1>/dev/null 2>/dev/null</Key>
   <Key mask="H" key="d">desktop</Key>

   <StartupCommand>
         feh --bg-scale 070719_edu_tushang3_03.jpg
   </StartupCommand>

</JWM>

阅读(2553) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~