regexghost-dotfiles

My dotfiles and scripts
git clone git@git.regexghost.com/regexghost-dotfiles.git
Log | Files | Refs | README

.jwmrc (8411B)


      1 <?xml version="1.0"?>
      2 <JWM>
      3 
      4     <!-- The root menu. -->
      5     <RootMenu onroot="12">
      6         <Program icon="utilities-terminal" label="Terminal">st</Program>
      7         <Menu icon="folder" label="Applications">
      8             <Program icon="sound" label="Audacious">audacious</Program>
      9             <Program icon="calc" label="Calculator">xcalc</Program>
     10             <Program icon="web-browser" label="Firefox">netsurf-gtk</Program>
     11             <Program icon="image" label="Gimp">sxiv</Program>
     12             <Program icon="email" label="Mail">claws-mail</Program>
     13             <Program icon="system-file-manager" label="ROX">rox ~</Program>
     14         </Menu>
     15         <Menu icon="folder" label="Utilities">
     16             <Program icon="font" label="Fonts">xfontsel</Program>
     17             <Program icon="info" label="Window Properties">
     18                 xprop | xmessage -file -
     19             </Program>
     20             <Program icon="info" label="Window Information">
     21                 xwininfo | xmessage -file -
     22             </Program>
     23         </Menu>
     24         <Separator/>
     25         <Program icon="lock" label="Lock">
     26            xscreensaver-command -lock
     27         </Program>
     28         <Separator/>
     29         <Restart label="Restart" icon="reload"/>
     30         <Exit label="Exit" confirm="true" icon="exit"/>
     31     </RootMenu>
     32 
     33     <!-- Options for program groups. -->
     34     <Group>
     35         <Option>tiled</Option>
     36     </Group>
     37     <Group>
     38         <Name>xterm</Name>
     39         <Option>vmax</Option>
     40     </Group>
     41     <Group>
     42         <Name>xclock</Name>
     43         <Option>drag</Option>
     44         <Option>notitle</Option>
     45     </Group>
     46 
     47     <!-- Tray at the bottom. -->
     48     <Tray x="0" y="0" autohide="off" delay="1000">
     49 
     50         <TrayButton label="JWM">root:1</TrayButton>
     51         <Spacer width="2"/>
     52         <TrayButton label="_">showdesktop</TrayButton>
     53         <Spacer width="2"/>
     54 
     55         <Pager labeled="true"/>
     56 
     57         <TaskList maxwidth="256"/>
     58 
     59         <Swallow width="32" height="32" name="xclock">xclock</Swallow>
     60 
     61         <Dock/>
     62         <Clock format="%a, %b %d - %H:%M"><Button mask="123">exec:xclock</Button></Clock>
     63 
     64     </Tray>
     65 
     66     <!-- Visual Styles -->
     67     <WindowStyle decorations="motif">
     68         <Font>Sans-12:bold</Font>
     69         <Width>4</Width>
     70         <Corner>0</Corner>
     71         <Foreground>#FFFFFF</Foreground>
     72         <Background>#555555</Background>
     73         <Opacity>1.0</Opacity>
     74         <Active>
     75             <Foreground>#FFFFFF</Foreground>
     76             <Background>#0077CC</Background>
     77             <Opacity>1.0</Opacity>
     78         </Active>
     79     </WindowStyle>
     80     <TrayStyle decorations="motif">
     81         <Font>Sans-12</Font>
     82         <Background>#333333</Background>
     83         <Foreground>#FFFFFF</Foreground>
     84         <Opacity>0.75</Opacity>
     85     </TrayStyle>
     86     <TaskListStyle list="all" group="true">
     87       <Font>Sans-12</Font>
     88       <Active>
     89         <Foreground>#FFFFFF</Foreground>
     90         <Background>#555555</Background>
     91       </Active>
     92       <Minimized>
     93         <Foreground>#FFFFFF</Foreground>
     94         <Background>#111111</Background>
     95       </Minimized>
     96       <Foreground>#FFFFFF</Foreground>
     97       <Background>#333333</Background>
     98     </TaskListStyle>
     99     <PagerStyle>
    100         <Foreground>#555555</Foreground>
    101         <Background>#333333</Background>
    102         <Text>#FFFFFF</Text>
    103         <Active>
    104             <Foreground>#0077CC</Foreground>
    105             <Background>#004488</Background>
    106         </Active>
    107     </PagerStyle>
    108     <MenuStyle decorations="motif">
    109         <Font>Sans-12</Font>
    110         <Foreground>#FFFFFF</Foreground>
    111         <Background>#333333</Background>
    112         <Active>
    113             <Foreground>#FFFFFF</Foreground>
    114             <Background>#0077CC</Background>
    115         </Active>
    116         <Opacity>0.85</Opacity>
    117     </MenuStyle>
    118     <PopupStyle>
    119         <Font>Sans-12</Font>
    120         <Foreground>#000000</Foreground>
    121         <Background>#999999</Background>
    122     </PopupStyle>
    123 
    124     <!-- Path where icons can be found.
    125          IconPath can be listed multiple times to allow searching
    126          for icons in multiple paths.
    127       -->
    128     <IconPath>
    129       /usr/local/share/icons/Tango/scalable/actions
    130     </IconPath>
    131     <IconPath>
    132       /usr/local/share/icons/Tango/scalable/apps
    133     </IconPath>
    134     <IconPath>
    135       /usr/local/share/icons/Tango/scalable/places
    136     </IconPath>
    137     <IconPath>
    138       /usr/local/share/icons/Tango/scalable/status
    139     </IconPath>
    140     <IconPath>
    141       /usr/local/share/icons/Tango/scalable/mimetypes
    142     </IconPath>
    143     <IconPath>
    144       /usr/local/share/jwm
    145     </IconPath>
    146 
    147     <!-- Virtual Desktops -->
    148     <!-- Desktop tags can be contained within Desktops for desktop names. -->
    149     <Desktops width="6" height="1">
    150         <!-- Default background. Note that a Background tag can be
    151               contained within a Desktop tag to give a specific background
    152               for that desktop.
    153          -->
    154         <Background type="solid">#111111</Background>
    155     </Desktops>
    156 
    157     <!-- Double click speed (in milliseconds) -->
    158     <DoubleClickSpeed>400</DoubleClickSpeed>
    159 
    160     <!-- Double click delta (in pixels) -->
    161     <DoubleClickDelta>2</DoubleClickDelta>
    162 
    163     <!-- The focus model (sloppy or click) -->
    164     <FocusModel>sloppy</FocusModel>
    165 
    166     <!-- The snap mode (none, screen, or border) -->
    167     <SnapMode distance="10">border</SnapMode>
    168 
    169     <!-- The move mode (outline or opaque) -->
    170     <MoveMode mask="4">opaque</MoveMode>
    171 
    172     <!-- The resize mode (outline or opaque) -->
    173     <ResizeMode>opaque</ResizeMode>
    174 
    175     <!-- Key bindings -->
    176     <Key key="Up">up</Key>
    177     <Key key="Down">down</Key>
    178     <Key key="Right">right</Key>
    179     <Key key="Left">left</Key>
    180     <Key key="h">left</Key>
    181     <Key key="j">down</Key>
    182     <Key key="k">up</Key>
    183     <Key key="l">right</Key>
    184     <Key key="Return">select</Key>
    185     <Key key="Escape">escape</Key>
    186 
    187     <Key mask="A" key="Tab">nextstacked</Key>
    188     <Key mask="4S" key="q">close</Key>
    189     <Key mask="4" key="#">desktop#</Key>
    190     <!-- <Key mask="A" key="F1">root:1</Key> -->
    191     <!-- <Key mask="A" key="F2">window</Key> -->
    192     <!-- <Key mask="A" key="F10">maximize</Key> -->
    193     <!-- <Key mask="A" key="Right">rdesktop</Key> -->
    194     <!-- <Key mask="A" key="Left">ldesktop</Key> -->
    195     <!-- <Key mask="A" key="Up">udesktop</Key> -->
    196     <!-- <Key mask="A" key="Down">ddesktop</Key> -->
    197 
    198     <Key mask="4" key="period">rdesktop</Key>
    199     <Key mask="4" key="comma">ldesktop</Key>
    200     <Key mask="4S" key="comma">sendl</Key>
    201     <Key mask="4S" key="period">sendr</Key>
    202 
    203     <Key mask="4" key="Left">maxleft</Key>
    204     <Key mask="4A" key="Left">maxtopleft</Key>
    205     <Key mask="4" key="Right">maxright</Key>
    206     <Key mask="4A" key="Right">maxbottomright</Key>
    207     <Key mask="4" key="Up">maxtop</Key>
    208     <Key mask="4A" key="Up">maxtopright</Key>
    209     <Key mask="4" key="Down">maxbottom</Key>
    210     <Key mask="4A" key="Down">maxbottomleft</Key>
    211 
    212     <Key mask="4" key="apostrophe">maximize</Key>
    213     <Key mask="4" key="slash">minimize</Key>
    214 
    215     <Key mask="4" key="Return">exec:st</Key>
    216     <Key mask="4" key="b">exec:st -t btop -e btop</Key>
    217     
    218 
    219     <!-- Mouse bindings -->
    220     <!-- <Mouse context="root" button="4">ldesktop</Mouse> -->
    221     <!-- <Mouse context="root" button="5">rdesktop</Mouse> -->
    222 
    223     <Mouse context="title" button="1">move</Mouse>
    224     <Mouse context="title" button="2">move</Mouse>
    225     <Mouse context="title" button="3">window</Mouse>
    226     <Mouse context="title" button="4">shade</Mouse>
    227     <Mouse context="title" button="5">shade</Mouse>
    228     <Mouse context="title" button="11">maximize</Mouse>
    229 
    230     <Mouse context="icon" button="1">window</Mouse>
    231     <Mouse context="icon" button="2">move</Mouse>
    232     <Mouse context="icon" button="3">window</Mouse>
    233     <Mouse context="icon" button="4">shade</Mouse>
    234     <Mouse context="icon" button="5">shade</Mouse>
    235 
    236     <Mouse context="border" button="1">resize</Mouse>
    237     <Mouse context="border" button="2">move</Mouse>
    238     <Mouse context="border" button="3">window</Mouse>
    239 
    240     <Mouse context="close" button="-1">close</Mouse>
    241     <Mouse context="close" button="2">move</Mouse>
    242     <Mouse context="close" button="-3">close</Mouse>
    243 
    244     <Mouse context="maximize" button="-1">maximize</Mouse>
    245     <Mouse context="maximize" button="-2">maxv</Mouse>
    246     <Mouse context="maximize" button="-3">maxh</Mouse>
    247 
    248     <Mouse context="minimize" button="-1">minimize</Mouse>
    249     <Mouse context="minimize" button="2">move</Mouse>
    250     <Mouse context="minimize" button="-3">shade</Mouse>
    251 
    252 </JWM>