XML   106
sjwmrc
Guest on 4th February 2023 02:00:23 AM


  1. <?xml version="1.0"?>
  2. <JWM>
  3.    <!-- The root menu, if this is undefined you will not get a menu. -->
  4.    <!-- Additional RootMenu attributes: onroot, labeled, label -->
  5.    <RootMenu height="32" onroot="12">
  6.       <Program icon="xterm.png" label="XTerm">
  7.          xterm -font koi8x16 -bg black -fg green -geometry 90x30+90+90
  8.       </Program>
  9.       <!--
  10.      <Program icon="pterm.png" label="PTerm">
  11.         pterm -font koi8x16 -bg black -fg green -geometry 100x30+75+75
  12.      </Program>
  13.      -->
  14.        <Program icon="putty.png" label="PuTTy">putty</Program>
  15.       <Program icon="leafpad.png" label="Text editor">leafpad</Program>
  16.       <!--
  17.      <Program icon="gpicview.png" label="Image viewer">gpicview</Program>
  18.      <Program icon="mirage.png" label="Image browser">mirage</Program>
  19.      <Program icon="filezilla.png" label="FileZilla">filezilla</Program>
  20.      <Program icon="firefox.png" label="Firefox Private">
  21.          firefox -private
  22.      </Program>
  23.      -->
  24.       <Program icon="chromium.png" label="Chromium Incognito">chromium-browser -incognito</Program>
  25.       <!--<Exit label="Exit" confirm="true" icon="logout.png"/>-->
  26.    </RootMenu>
  27.  
  28.    <!-- Additional tray attributes: autohide, width, border, layer, layout -->
  29.    <Tray  x="0" y="-1" height="32">
  30.  
  31.       <!-- Additional TrayButton attribute: label -->
  32.       <TrayButton icon="startxp.png" popup="Click here for menu">root:1</TrayButton>
  33.       <TrayButton icon="desktop.png">showdesktop</TrayButton>
  34.       <TrayButton icon="xterm.png">
  35.          exec:xterm -font koi8x16 -bg black -fg green -geometry 90x30+90+90
  36.       </TrayButton>
  37.       <TrayButton icon="leafpad.png">exec:leafpad</TrayButton>
  38.       <!--
  39.      <TrayButton icon="firefox.png">exec:firefox -private</TrayButton>
  40.      -->
  41.       <TrayButton icon="chromium.png">exec:chromium-browser -incognito</TrayButton>
  42.  
  43.       <TaskList maxwidth="256"/>
  44.       <Dock/>
  45.  
  46.       <!-- Additional Swallow attribute: height -->
  47.       <Swallow name="xload" width="32">
  48.          xload -nolabel -bg black -fg green -hl white -update 3
  49.       </Swallow>
  50.  
  51.       <Clock format="%k:%M"></Clock>
  52.  
  53.    </Tray>
  54.    <Group>
  55.      <Name>VNC config</Name>
  56.      <Option>minimized</Option>
  57.      <Option>nolist</Option>
  58.    </Group>
  59.    <Group>
  60.      <Class>Firefox</Class>
  61.      <Class>Iceweasel</Class>
  62.      <Class>chromium-browser</Class>
  63.      <Class>Chrome</Class>
  64.      <Option>notitle</Option>
  65.      <Option>maximized</Option>
  66.    </Group>
  67.  
  68.    <!-- Visual Styles -->
  69.  
  70.    <WindowStyle>
  71.       <Font>FreeSans-9:bold</Font>
  72.       <Width>2</Width>
  73.       <Height>20</Height>
  74.       <Foreground>#dee7ff</Foreground>
  75.       <Background>#7b9ae7</Background>
  76.       <Opacity>1</Opacity>
  77.       <Active>
  78.          <Foreground>white</Foreground>
  79.          <Background>#0051e7</Background>
  80.          <Outline>#0051e7</Outline>
  81.          <Opacity>1.0</Opacity>
  82.       </Active>
  83.    </WindowStyle>
  84.  
  85.    <!-- Additional TrayStyle attribute: insert -->
  86.    <TrayStyle>
  87.       <Font>FreeSans-9</Font>
  88.       <Background>#215dde</Background>
  89.       <Foreground>white</Foreground>
  90.       <Opacity>1.0</Opacity>
  91.    </TrayStyle>
  92.  
  93.    <MenuStyle>
  94.       <Font>FreeSans-9</Font>
  95.       <Foreground>black</Foreground>
  96.       <Background>white</Background>
  97.       <Opacity>1.0</Opacity>
  98.       <Active>white
  99.         <Foreground>white</Foreground>
  100.         <Background>#3169c6</Background>
  101.       </Active>
  102.    </MenuStyle>
  103.  
  104.    <PopupStyle>
  105.       <Font>fixed</Font>
  106.       <Outline>black</Outline>
  107.       <Foreground>black</Foreground>
  108.       <Background>yellow</Background>
  109.    </PopupStyle>
  110.  
  111.    <IconPath>
  112.       /usr/share/pixmaps
  113.    </IconPath>
  114.  
  115.    <!-- Double click speed (in milliseconds) -->
  116.    <DoubleClickSpeed>400</DoubleClickSpeed>
  117.  
  118.    <!-- Double click delta (in pixels) -->
  119.    <DoubleClickDelta>2</DoubleClickDelta>
  120.  
  121.    <!-- The focus model (sloppy or click) -->
  122.    <FocusModel>click</FocusModel>
  123.  
  124.    <!-- The snap mode (none, screen, or border) -->
  125.    <SnapMode distance="10">border</SnapMode>
  126.  
  127.    <!-- The move mode (outline or opaque) -->
  128.    <MoveMode>opaque</MoveMode>
  129.  
  130.    <!-- The resize mode (outline or opaque) -->
  131.    <ResizeMode>opaque</ResizeMode>
  132.  
  133.    <!-- Key bindings -->
  134.    <Key key="Up">up</Key>
  135.    <Key key="Down">down</Key>
  136.    <Key key="Right">right</Key>
  137.    <Key key="Left">left</Key>
  138.    <Key key="h">left</Key>
  139.    <Key key="j">down</Key>
  140.    <Key key="k">up</Key>
  141.    <Key key="l">right</Key>
  142.    <Key key="Return">select</Key>
  143.    <Key key="Escape">escape</Key>
  144.  
  145.    <Key mask="A" key="Tab">nextstacked</Key>
  146.    <Key mask="A" key="F4">close</Key>
  147.    <Key mask="A" key="#">desktop#</Key>
  148.    <Key mask="A" key="F1">root:1</Key>
  149.    <Key mask="A" key="F2">window</Key>
  150.    <Key mask="A" key="F10">maximize</Key>
  151.    <Key mask="A" key="Right">rdesktop</Key>
  152.    <Key mask="A" key="Left">ldesktop</Key>
  153.    <Key mask="A" key="Up">udesktop</Key>
  154.    <Key mask="A" key="Down">ddesktop</Key>
  155. </JWM>

Raw Paste

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