aboutsummaryrefslogtreecommitdiff
path: root/example.jwmrc
diff options
context:
space:
mode:
authorJohn Ankarstr\xf6m <john@ankarstrom.se>2021-05-29 12:54:47 +0200
committerJohn Ankarstr\xf6m <john@ankarstrom.se>2021-05-29 13:18:40 +0200
commita041d9898e6d699bd8c0c25482ec574feb03c547 (patch)
tree7f094e33fb530152c3ab6238ce7300750b47addb /example.jwmrc
downloadjwm-a041d9898e6d699bd8c0c25482ec574feb03c547.tar.gz
First commit
This is the original state of the released tarball for JWM 1.8, which will serve as my starting point for further modifications.
Diffstat (limited to 'example.jwmrc')
-rw-r--r--example.jwmrc161
1 files changed, 161 insertions, 0 deletions
diff --git a/example.jwmrc b/example.jwmrc
new file mode 100644
index 0000000..deae8c0
--- /dev/null
+++ b/example.jwmrc
@@ -0,0 +1,161 @@
+<?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="32">
+ <Program icon="rxvt.png" label="Terminal">xterm</Program>
+
+ <!-- Addititional Menu attributes: height, labeled -->
+ <Menu icon="folder.png" label="Applications">
+ <Program icon="dia.png" label="Dia">dia</Program>
+ <Program icon="firefox.png" label="Firefox">firefox</Program>
+ <Program icon="gaim.png" label="Gaim">gaim</Program>
+ <Program icon="gftp.png" label="gFTP">gftp</Program>
+ <Program icon="gimp.png" label="Gimp">gimp</Program>
+ <Program icon="gtk-gnutella.png" label="gtk-gnutella">
+ gtk-gnutella
+ </Program>
+ <Program icon="gxine.png" label="gxine">gxine</Program>
+ <Program icon="xmms.xpm" label="XMMS">xmms</Program>
+ </Menu>
+ <Menu icon="folder.png" label="Utilities">
+ <Program icon="xcalc.png">xcalc</Program>
+ <Program icon="xfontsel.png">xfontsel</Program>
+ <Program icon="xmag.png">xmag</Program>
+ <Program icon="xprop.png" label="xprop">
+ xprop | xmessage -file -
+ </Program>
+ </Menu>
+ <!-- <Desktops label="Desktops" icon="desktops.png"/> -->
+ <Separator/>
+ <Restart label="Restart" icon="restart.png"/>
+ <Exit label="Exit" confirm="true" icon="exit.png"/>
+ </RootMenu>
+
+ <Group>
+ <Class>Gaim</Class>
+ <Option>sticky</Option>
+ </Group>
+
+ <Group>
+ <Class>xmms</Class>
+ <Option>icon:xmms.xpm</Option>
+ </Group>
+
+ <!-- Additional tray attributes: autohide, width, border, layer, layout -->
+ <Tray x="0" y="-1" height="32">
+
+ <!-- Additional TrayButton attribute: label -->
+ <TrayButton label="JWM"/>
+
+ <!-- Additional Pager attributes; width, height -->
+ <Pager/>
+
+ <!-- Additional TaskList attribute: maxwidth -->
+ <TaskList/>
+
+ <!-- Additional Swallow attribute: height -->
+ <Swallow name="xload" width="64">
+ xload -nolabel -bg black -fg red -hl white
+ </Swallow>
+ <Clock>xclock</Clock>
+ </Tray>
+
+ <!-- Visual Styles -->
+
+ <BorderStyle>
+ <Font>FreeSans-12:bold</Font>
+ <Width>5</Width>
+ <Height>20</Height>
+ <Foreground>black</Foreground>
+ <Background>gray90</Background>
+ <ActiveForeground>white</ActiveForeground>
+ <ActiveBackground>#4A5966</ActiveBackground>
+ </BorderStyle>
+
+ <TaskListStyle>
+ <Font>FreeSans-12:bold</Font>
+ <ActiveForeground>white</ActiveForeground>
+ <ActiveBackground>#8899A6</ActiveBackground>
+ </TaskListStyle>
+
+ <!-- Additional TrayStyle attribute: insert -->
+ <TrayStyle>
+ <Font>FreeSans-12:bold</Font>
+ <Background>gray90</Background>
+ <Foreground>black</Foreground>
+ </TrayStyle>
+
+ <PagerStyle>
+ <Outline>black</Outline>
+ <Foreground>gray90</Foreground>
+ <Background>#888888</Background>
+ <ActiveForeground>#8899AA</ActiveForeground>
+ <ActiveBackground>#3A4956</ActiveBackground>
+ </PagerStyle>
+
+ <MenuStyle>
+ <Font>FreeSans-12:bold</Font>
+ <Foreground>black</Foreground>
+ <Background>gray90</Background>
+ <ActiveForeground>white</ActiveForeground>
+ <ActiveBackground>#3A4956</ActiveBackground>
+ </MenuStyle>
+
+ <PopupStyle>
+ <Font>FreeSans-10</Font>
+ <Outline>black</Outline>
+ <Foreground>black</Foreground>
+ <Background>yellow</Background>
+ </PopupStyle>
+
+ <IconPath>$HOME/.icons</IconPath>
+
+ <StartupCommand>
+ xli -onroot /export0/images/formulae.jpg
+ </StartupCommand>
+
+ <!-- Virtual Desktops -->
+ <!-- Name tags can be contained within Desktops for desktop names. -->
+ <Desktops count="4"/>
+
+ <!-- Double click speed (in milliseconds) -->
+ <DoubleClickSpeed>400</DoubleClickSpeed>
+
+ <!-- Double click delta (in pixels) -->
+ <DoubleClickDelta>2</DoubleClickDelta>
+
+ <!-- The focus model (sloppy or click) -->
+ <FocusModel>sloppy</FocusModel>
+
+ <!-- The snap mode (none, screen, or border) -->
+ <SnapMode distance="10">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">next</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">window</Key>
+
+</JWM>
+