xml version="1.0"?>
<!-- This file controls the behavior of JWM. Modified for Vector Linux -->
<!-- Edit with care. -->

<JWM>

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

<Include>$HOME/.jwm/menu</Include>

      <Program label=" Terminal" icon="/usr/share/icons/menu-Terminal.png">xterm</Program>
      <Separator/>
      <Menu label=" Quit" icon="/usr/share/icons/menu-Quit.png">
          <Restart label=" Restart JWM" icon="/usr/share/icons/menu-Restart.png"/>
          <Exit label=" Log Out" confirm="false" icon="/usr/share/icons/menu-Close.png"/>
          <Program label=" Reboot" icon="/usr/share/icons/menu-Reload.png">init 6</Program>
          <Program label=" Shutdown" icon="/usr/share/icons/menu-Exit.png" >init 0</Program>
      </Menu>
   </RootMenu>
   <Group>
      <Class>Pidgin</Class>
      <Option>sticky</Option>
   </Group>

   <Group>
      <Name>gkrellm2</Name>
      <Option>nolist</Option>
   </Group>

   <Group>
      <Name>rxvt</Name>
      <Option>vmax</Option>
   </Group>

   <!-- Additional tray attributes: autohide, width, border, layer, layout -->
   <Tray  autohide="true" x="0" y="-1" width="400" height="32">
        <TrayButton icon="/usr/share/icons/VLMenu.png">root:1</TrayButton>
      <!-- Additional Pager attributes; width, height -->
      <Pager/>

      <!-- Additional TaskList attribute: maxwidth -->
      <TaskList/>
        <Clock>xclock</Clock>
   </Tray>

   <!-- Visual Styles -->
<WindowStyle>
    <Font>DejaVu Sans-12</Font>
    <Width>3</Width>
    <Height>22</Height>     
    <Active>
       <Text>white</Text>
       <Title>#5C6F9B:#B1CCEB</Title>
       <Corner>#4A5966</Corner>
       <Outline>black</Outline>
    </Active>
    <Inactive>
       <Text>white</Text>
       <Title>#979797:black</Title>         
       <Corner>#DCDAD5</Corner>
       <Outline>black</Outline>
    </Inactive>
</WindowStyle> 

<TaskListStyle>
<Font>DejaVu Sans  -12</Font>
<ActiveForeground>white</ActiveForeground>
<ActiveBackground>#5C6F9B:#B1CCEB</ActiveBackground>
<Background>#979797:black</Background>
</TaskListStyle>

	<!-- TRAY PROPERTIES -->

	<TrayStyle>
		<Font>DejaVu Sans  -12</Font>
		<Foreground>white</Foreground>
		<Background>#181414</Background>
	</TrayStyle>

	<!-- PAGER PROPERTIES -->

	<PagerStyle>
		<Outline>grey</Outline>
		<Foreground>#979797</Foreground>
		<Background>black</Background>
		<ActiveForeground>#161212</ActiveForeground>
		<ActiveBackground>#dbcfcf</ActiveBackground>
	</PagerStyle>

	<PopupStyle>
		<Font>DejaVu Sans  -12</Font>
		<Outline>#fef7f7</Outline>
		<Foreground>#e6e6e6</Foreground>
		<Background>#1e1e1e</Background>
	</PopupStyle>

	<MenuStyle>
		<Font>DejaVu Sans-12</Font>
		<Foreground>white</Foreground>
		<Background>#7B7B7B</Background>
		<ActiveForeground>white</ActiveForeground>
		<ActiveBackground>#5C6F9B:#B1CCEB</ActiveBackground>
	</MenuStyle>

   <IconPath>/usr/share/pixmaps</IconPath>

   <Group>
    <Class>Vinstall</Class>
      <Option>maximized</Option>
      <Option>desktop:1</Option>
      <Option>notitle</Option>
   </Group>

   <Group>
    <Class>Xterm</Class>
      <Option>maximized</Option>
      <Option>desktop:2</Option>
   </Group>

   <StartupCommand>
      if test x"$DBUS_SESSION_BUS_ADDRESS" = x""; then
         dbuslaunch=`which dbus-launch`
         if test x"$dbuslaunch" != x"" -a x"$dbuslaunch" != x"no"; then
            eval `$dbuslaunch --sh-syntax --exit-with-session`
         fi
      fi
      #ifconfig eth0 up
      #dhcpcd eth0
      #svn co http://vlcore.vectorlinux.com/svn/vinstall/branches/speedy
      #cd speedy
      #svn up
      #./vinstall-ng.gambas &>/root/gui.log
      #gambas2
      #/usr/bin/installer.gambas &>/root/gui.log
      #cd /root/vinstall
      #git pull
      #python setup.py install
      #vinstall
      #xterm
	#cd /root/installer
	#git pull
	#rm -rf /usr/lib/python*/site-packages/vinstall*
	#easy_install -U .
	I_MEAN_IT=y vinstall
	#vinstall
   </StartupCommand>

   <!-- Virtual Desktops -->
   <!-- Desktop tags can be contained within Desktops for desktop names. -->
   <Desktops count="2">
    <Background>#7F7F7F</Background>
   </Desktops>

   <!-- Double click speed (in milliseconds) -->
   <DoubleClickSpeed>400</DoubleClickSpeed>

   <!-- Double click delta (in pixels) -->
   <DoubleClickDelta>2</DoubleClickDelta>

   <!-- The focus model (sloppy or click) -->
   <FocusModel>click</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">nextstacked</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>
