<?xml version="1.0"?>

<JWM>

        <!-- The root menu, if this is undefined you will not get a menu. -->
        <!-- Additional RootMenu attributes: onroot, labeled, label height="32" -->
        <RootMenu label="JWM">
                <Font>-*-fixed-*-r-*-*-10-*-*-*-*-*-*-*</Font>

                <Program icon="rxvt.xpm" label="Terminal">xterm</Program>

                <!-- Addititional Menu attributes: height, labeled -->
                <Menu icon="folder.xpm" label="Applications">
                        <Program icon="firefox.xpm" label="Firefox">firefox</Program>
                        <Program icon="fm.xpm" label="File Manager">xfe</Program>
                        <Program icon="gaim.xpm" label="Gaim">gaim</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>

                <Menu icon="folder.xpm" label="Games">
                        <Program label="Mines">/usr/games/mines</Program>
                </Menu>

                <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>-*-fixed-*-r-*-*-10-*-*-*-*-*-*-*</Font>
                <Width>1</Width>
                <Height>15</Height>
                <Foreground>black</Foreground>
                <Background>gray90</Background>
                <ActiveForeground>white</ActiveForeground>
                <ActiveBackground>#4A5966</ActiveBackground>
        </BorderStyle>

        <TaskListStyle>
                <Font>-*-fixed-*-r-*-*-10-*-*-*-*-*-*-*</Font>
                <ActiveForeground>white</ActiveForeground>
                <ActiveBackground>#8899A6</ActiveBackground>
        </TaskListStyle>

        <!-- Additional TrayStyle attribute: insert -->
        <TrayStyle>
                <Font>-*-fixed-*-r-*-*-10-*-*-*-*-*-*-*</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>-*-fixed-*-r-*-*-10-*-*-*-*-*-*-*</Font>
                <Foreground>black</Foreground>
                <Background>gray90</Background>
                <ActiveForeground>white</ActiveForeground>
                <ActiveBackground>#3A4956</ActiveBackground>
        </MenuStyle>

        <Clock>
                <Program>xclock</Program>
        </Clock>

        <PopupStyle>
                <Font>-*-fixed-*-r-*-*-10-*-*-*-*-*-*-*</Font>
                <Outline>black</Outline>
                <Foreground>black</Foreground>
                <Background>yellow</Background>
        </PopupStyle>

        <Menu>
                <Font>-*-fixed-*-r-*-*-10-*-*-*-*-*-*-*</Font>
                <Foreground>black</Foreground>
                <Background>#DCDAD5</Background>
                <ActiveForeground>white</ActiveForeground>
                <ActiveBackground>#3A4956</ActiveBackground>
        </Menu>

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

        <StartupCommand>
                xli -onroot /usr/share/backgrounds/default.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="2">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="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</Key>
        <Key mask="A" key="F2">window</Key>

</JWM>

