XML   25
jwmrc win7 2004
Guest on 4th February 2023 01:58:06 AM


  1. <?xml version="1.0"?>
  2.  
  3. <JWM>
  4.  
  5.    <!-- The root menu, if this is undefined you will not get a menu. -->
  6.    <!-- Additional RootMenu attributes: onroot, labeled, label -->
  7.    <RootMenu height="22" onroot="12">
  8.       <Program icon="terminal-tango.svg" label="Sakura">sakura</Program>
  9.        <Program icon="putty.png" label="PuTTy">putty</Program>
  10.       <Program icon="gpicview.png" label="Image viewer">gpicview</Program>
  11.       <Program icon="notepad.png" label="Text editor">mousepad</Program>
  12.       <Program icon="chromium.png" label="Chromium">chromium-browser</Program>
  13.       <!---
  14.      <Program icon="firefox.png" label="Firefox Private">
  15.          firefox -private
  16.      </Program>
  17.      -->
  18.       <Program icon="run.png" label="Run">gmrun</Program>
  19.       <Separator/>
  20.       <Program icon="restart.png" label="Restart">gxmessage -center -title "Are you sure?" -buttons Yes:0,No:1 "Reboot the computer?"  && sudo reboot</Program>
  21.      <Program icon="shutdown.png" label="Shutdown">gxmessage -center -title "Are you sure?" -buttons Yes:0,No:1 "Shutdown the computer?"  && sudo poweroff</Program>
  22.   </RootMenu>
  23.  
  24.   <Tray  x="0" y="-1" height="28">
  25.  
  26.      <!-- Additional TrayButton attribute: label -->
  27.      <TrayButton icon="start7.png" popup="Click here for menu">root:1</TrayButton>
  28.      <TrayButton icon="showdesktop.png">showdesktop</TrayButton>
  29.      <TrayButton icon="explorer.png">exec:pcmanfm</TrayButton>
  30.      <TrayButton icon="notepad.png">exec:mousepad</TrayButton>
  31.      <TrayButton icon="xpcalc.png">exec:galculator</TrayButton>
  32.      <TrayButton icon="cmd.png">
  33.         exec:xterm -font koi8x16 -bg black -fg green -geometry 90x30+40+40
  34.      </TrayButton>
  35.      <TrayButton icon="putty.png">exec:putty</TrayButton>
  36.      <TrayButton icon="chromium.png">exec:chromium-browser -incognito</TrayButton>
  37.      <!--
  38.      <TrayButton icon="slimjet.png">exec:flashpeak-slimjet -incognito</TrayButton>
  39.      <TrayButton icon="text-generic.png">exec:leafpad ~Desktop/text.txt</TrayButton>
  40.       -->
  41.  
  42.      <TaskList maxwidth="256"/>
  43.      <Dock/>
  44.  
  45.      <!-- Additional Swallow attribute: height -->
  46.      <Swallow name="xload" width="26">
  47.         xload -nolabel -bg black -fg green -hl white -update 3
  48.      </Swallow>
  49.  
  50.      <Clock format="%k:%M">showdesktop</Clock>
  51.  
  52.   </Tray>
  53.   <Group>
  54.     <Name>VNC config</Name>
  55.     <Option>minimized</Option>
  56.     <Option>nolist</Option>
  57.   </Group>
  58.   <Group>
  59.     <Class>Firefox</Class>
  60.     <Class>Iceweasel</Class>
  61.     <Class>chromium-browser</Class>
  62.     <Class>Chrome</Class>
  63.     <Option>notitle</Option>
  64.     <Option>maximized</Option>
  65.   </Group>
  66.  
  67.   <!-- Visual Styles -->
  68.  
  69.   <WindowStyle>
  70.      <Font>Monospace-9:bold</Font>
  71.      <Width>2</Width>
  72.      <Height>20</Height>
  73.      <Corner>0</Corner>
  74.      <Foreground>#c7cfc8</Foreground>
  75.      <Background>#808080</Background>
  76.      <Opacity>1.0</Opacity>
  77.      <Active>
  78.         <Foreground>white</Foreground>
  79.         <Background>#0a246a</Background>
  80.         <Outline>#d4d0c8</Outline>
  81.         <Opacity>1.0</Opacity>
  82.      </Active>
  83.   </WindowStyle>
  84.  
  85.   <!-- Additional TrayStyle attribute: insert -->
  86.   <TrayStyle>
  87.      <Font>Monospace-9</Font>
  88.      <Foreground>black</Foreground>
  89.      <Background>#d4d0c8</Background>
  90.      <Opacity>1.0</Opacity>
  91.      <Active>
  92.          <Foreground>black</Foreground>
  93.          <Background>white</Background>
  94.      </Active>
  95.   </TrayStyle>
  96.  
  97.   <MenuStyle>
  98.      <Font>Cantarell-9:antialias=true:encoding=utf8</Font>
  99.      <Foreground>black</Foreground>
  100.      <Background>#d4d0c8</Background>
  101.      <Opacity>1.0</Opacity>
  102.      <Active>
  103.          <Foreground>white</Foreground>
  104.          <Background>#0a246a</Background>
  105.      </Active>
  106.   </MenuStyle>
  107.  
  108.   <PopupStyle>
  109.      <Font>Cantarell-9:antialias=true:encoding=utf8</Font>
  110.      <Outline>black</Outline>
  111.      <Foreground>black</Foreground>
  112.      <Background>#ffffe1</Background>
  113.   </PopupStyle>
  114.  
  115.   <IconPath>
  116.      /usr/share/pixmaps
  117.   </IconPath>
  118.  
  119.   <StartupCommand>xxkb &amp;</StartupCommand>
  120.    <StartupCommand>pcmanfm --desktop &amp;</StartupCommand>
  121.    <StartupCommand>xsetroot -solid '#3a6ea5'</StartupCommand>
  122.  
  123.    <ButtonClose>close.png</ButtonClose>
  124.    <ButtonMax>maximize.png</ButtonMax>
  125.    <ButtonMaxActive>unmaximize.png</ButtonMaxActive>
  126.    <ButtonMin>minimize.png</ButtonMin>
  127.  
  128.    <!-- Double click speed (in milliseconds) -->
  129.    <DoubleClickSpeed>400</DoubleClickSpeed>
  130.  
  131.    <!-- Double click delta (in pixels) -->
  132.    <DoubleClickDelta>2</DoubleClickDelta>
  133.  
  134.    <!-- The focus model (sloppy or click) -->
  135.    <FocusModel>click</FocusModel>
  136.  
  137.    <!-- The snap mode (none, screen, or border) -->
  138.    <SnapMode distance="10">border</SnapMode>
  139.  
  140.    <!-- The move mode (outline or opaque) -->
  141.    <MoveMode>opaque</MoveMode>
  142.  
  143.    <!-- The resize mode (outline or opaque) -->
  144.    <ResizeMode>opaque</ResizeMode>
  145.  
  146.  
  147.    <!-- Key bindings -->
  148.    <Key key="Up">up</Key>
  149.    <Key key="Down">down</Key>
  150.    <Key key="Right">right</Key>
  151.    <Key key="Left">left</Key>
  152.    <Key key="h">left</Key>
  153.    <Key key="j">down</Key>
  154.    <Key key="k">up</Key>
  155.    <Key key="l">right</Key>
  156.    <Key key="Return">select</Key>
  157.    <Key key="Escape">escape</Key>
  158.  
  159.    <Key mask="A" key="Tab">nextstacked</Key>
  160.    <Key mask="A" key="F4">close</Key>
  161.    <Key mask="A" key="#">desktop#</Key>
  162.    <Key mask="A" key="F1">root:1</Key>
  163.    <Key mask="A" key="F2">window</Key>
  164.    <Key mask="A" key="F10">maximize</Key>
  165.    <Key mask="A" key="Right">rdesktop</Key>
  166.    <Key mask="A" key="Left">ldesktop</Key>
  167.    <Key mask="A" key="Up">udesktop</Key>
  168.    <Key mask="A" key="Down">ddesktop</Key>
  169.  
  170. </JWM>

Raw Paste

Login or Register to edit or fork this paste. It's free.