<?xml version="1.0"?>

<JWM>

	<!-- The root menu, if this is undefined you will not get a menu. -->
	<!-- Additional RootMenu attributes: onroot, labeled, label -->

 <!-- jwm menu for puppy Linux -->

 <RootMenu label="Start" labeled="false" height="16">
  <Include>exec:jwm-xdgmenu /usr/etc/xdg/menus/puppy-controlpanel.menu</Include>
  <Include>exec:jwm-xdgmenu /usr/etc/xdg/menus/puppy-setup.menu</Include>
  <Include>exec:jwm-xdgmenu /usr/etc/xdg/menus/puppy-filesystem.menu</Include>

  <Separator/>

  <Include>exec:jwm-xdgmenu /usr/etc/xdg/menus/puppy-utilities.menu</Include>
  <Include>exec:jwm-xdgmenu /usr/etc/xdg/menus/puppy-applications.menu</Include>
<!-- if you want a flatter structure, comment out the puppy-applications.menu line above and uncomment these -->
<!--
  <Include>exec:jwm-xdgmenu /usr/etc/xdg/menus/puppy-office.menu</Include>
  <Include>exec:jwm-xdgmenu /usr/etc/xdg/menus/puppy-graphics.menu</Include>
  <Include>exec:jwm-xdgmenu /usr/etc/xdg/menus/puppy-internet.menu</Include>
  <Include>exec:jwm-xdgmenu /usr/etc/xdg/menus/puppy-network.menu</Include>
  <Include>exec:jwm-xdgmenu /usr/etc/xdg/menus/puppy-games.menu</Include>
  <Include>exec:jwm-xdgmenu /usr/etc/xdg/menus/puppy-multimedia.menu</Include>
  <Include>exec:jwm-xdgmenu /usr/etc/xdg/menus/puppy-development.menu</Include>
-->
  <Separator/>
  <Include>exec:jwm-xdgmenu /usr/etc/xdg/menus/puppy-console.menu</Include>

  <Menu label="Find" icon="find24.xpm" height="0">
    <Program label="Gtkcat catalog drives" icon="mini-zoom.xpm">gtkcat</Program>
    <Program label="Gtkfind find file" icon="mini-zoom.xpm">gtkfind</Program>
    <Program label="Turma find text" icon="mini-zoom.xpm">turma</Program>
    <Program label="reXgrep find text" icon="mini-zoom.xpm">rexgrep</Program>
  </Menu>
  <Program label="Help" icon="help24.xpm">dillo /usr/share/doc/index.html</Program>
  <Separator/>
  <Menu label="Shut Down" icon="shutdown24.xpm" height="16">
    <Restart label="JWM restart" icon="mini-windows.xpm"/>
    <Program label="Fluxbox restart" icon="mini-windows.xpm">restartwm fluxbox</Program>
    <Program label="Fvwm95 restart" icon="mini-windows.xpm">restartwm fvwm95</Program>
    <Program label="IceWM restart" icon="mini-windows.xpm">restartwm icewm</Program>
    <Program label="Xfce restart" icon="mini-windows.xpm">restartwm xfce4-session</Program>
    <Separator/>
    <Exit confirm="false" label="Exit to prompt" icon="prompt16.xpm" />
    <Program label="X restart" icon="mini-x.xpm">restartwm</Program>
    <Program label="Reboot computer" icon="mini-turn.xpm">exec /usr/X11R6/bin/wmreboot</Program>
    <Program label="Power-off computer" icon="mini-stop.xpm">exec /usr/X11R6/bin/wmpoweroff</Program>
  </Menu>
 </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 definition moved to separate file: .jwmrc-tray -->
        <Include>/root/.jwm/.jwmrc-tray</Include>

	<!-- Visual Styles -->

	<BorderStyle>
		<Font>Sans-12:regular</Font>
		<Width>5</Width>
		<Height>20</Height>
		<Foreground>black</Foreground>
		<Background>#E0E5E0</Background>
		<ActiveForeground>white</ActiveForeground>
		<ActiveBackground>#4A5966</ActiveBackground>
	</BorderStyle>

	<TaskListStyle>
		<Font>Sans-12:regular</Font>
		<ActiveForeground>white</ActiveForeground>
		<ActiveBackground>#8899A6</ActiveBackground>
	</TaskListStyle>

	<!-- Additional TrayStyle attribute: insert -->
	<TrayStyle>
		<Font>Sans-12:regular</Font>
		<Background>#E0E5E0</Background>
		<Foreground>black</Foreground>
	</TrayStyle>

	<PagerStyle>
		<Outline>black</Outline>
		<Foreground>#E0E5E0</Foreground>
		<Background>#888888</Background>
		<ActiveForeground>#8899AA</ActiveForeground>
		<ActiveBackground>#3A4956</ActiveBackground>
	</PagerStyle>

	<MenuStyle>
		<Font>Sans-12:regular</Font>
		<Foreground>black</Foreground>
		<Background>#E0E5E0</Background>
		<ActiveForeground>white</ActiveForeground>
		<ActiveBackground>#3A4956</ActiveBackground>
	</MenuStyle>

	<PopupStyle>
		<Font>Sans-10</Font>
		<Outline>black</Outline>
		<Foreground>black</Foreground>
		<Background>yellow</Background>
	</PopupStyle>

	<Icons>
		<IconPath>$HOME/.icons</IconPath>
		<IconPath>/usr/local/lib/X11/mini-icons</IconPath>
		<IconPath>/usr/local/lib/X11/pixmaps</IconPath>
	</Icons>

	<StartupCommand>
	</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</Key>
	<Key mask="A" key="F2">window</Key>

 <Include>/root/.jwm/jwmrc-personal</Include>
</JWM>
