<?xml version="1.0"?>

<!-- Do not edit this file, it will be overwritten on install. Copy the file
     to $HOME/.openbox/ instead. -->

<openbox_config>

<resistance>
  <strength>10</strength>
  <screen_edge_strength>10</screen_edge_strength>
</resistance>

<placement>
  <remember>yes</remember>
</placement>

<focus>
  <focusNew>yes</focusNew>
  <followMouse>no</followMouse>
  <focusLast>yes</focusLast>
  <focusLastOnDesktop>yes</focusLastOnDesktop>
  <cyclingDialog>yes</cyclingDialog>
</focus>

<theme>
  <theme>operation</theme>
  <titlelayout>NLIMC</titlelayout>
</theme>

<desktops>
  <number>4</number>
  <names>
    <name>one</name>
    <name>two</name>
    <name>three</name>
    <name>four</name>
  </names>
  <cyclingDialog>yes</cyclingDialog>
</desktops>

<resize>
  <drawContents>yes</drawContents>
</resize>

<dock>
  <position>topleft</position>
  <stacking>top</stacking>
  <direction>vertical</direction>
  <floatingX>0</floatingX>
  <floatingY>0</floatingY>
  <autoHide>no</autoHide>
  <hideTimeout>300</hideTimeout>
</dock>

<keyboard>
  <chainQuitKey>C-g</chainQuitKey>

  <keybind key="A-F10">
    <action name="MaximizeFull"></action>
  </keybind>
  <keybind key="A-F5">
    <action name="UnmaximizeFull"></action>
  </keybind>
  <keybind key="A-F12">
    <action name="ToggleShade"></action>
  </keybind>
  <keybind key="C-A-Left">
    <action name="DesktopLeft"></action>
  </keybind>
  <keybind key="C-A-Right">
    <action name="DesktopRight"></action>
  </keybind>
  <keybind key="C-A-Up">
    <action name="DesktopUp"></action>
  </keybind>
  <keybind key="C-A-Down">
    <action name="DesktopDown"></action>
  </keybind>
  <keybind key="S-A-Left">
    <action name="SendToDesktopLeft"></action>
  </keybind>
  <keybind key="S-A-Right">
    <action name="SendToDesktopRight"></action>
  </keybind>
  <keybind key="S-A-Up">
    <action name="SendToDesktopUp"></action>
  </keybind>
  <keybind key="S-A-Down">
    <action name="SendToDesktopDown"></action>
  </keybind>
  <keybind key="C-A-d">
    <action name="ToggleShowDesktop"></action>
  </keybind>
  <keybind key="A-F4">
    <action name="Close"></action>
  </keybind>
  <keybind key="A-Tab">
    <action name="NextWindow"></action>
  </keybind>
  <keybind key="A-S-Tab">
    <action name="PreviousWindow"></action>
  </keybind>
  <keybind key="A-F7">
    <action name="KeyboardMove"></action>
  </keybind>
  <keybind key="A-F8">
    <action name="KeyboardResize"></action>
  </keybind>
  <keybind key="A-F9">
    <action name="Iconify"></action>
  </keybind>
</keyboard>

<mouse>
  <dragThreshold>3</dragThreshold>
  <doubleClickTime>200</doubleClickTime>

  <context name="frame">
    <mousebind button="A-Left" action="drag">
      <action name="move"/>
    </mousebind>
    <mousebind button="A-Left" action="click">
      <action name="raise"/>
    </mousebind>
    <mousebind button="A-Left" action="press">
      <action name="focus"/>
    </mousebind>
    <mousebind button="A-Middle" action="drag">
      <action name="resize"/>
    </mousebind> 
    <mousebind button="A-Middle" action="click">
      <action name="lower"/>
    </mousebind>
    <mousebind button="A-Right" action="press">
      <action name="showmenu"><menu>client-menu</menu></action>
    </mousebind>
    <mousebind button="A-Up" action="click">
      <action name="desktopright"/>
    </mousebind>
    <mousebind button="A-Down" action="click">
      <action name="desktopleft"/>
    </mousebind>
    <mousebind button="C-A-Up" action="click">
      <action name="sendtodesktopright"/>
    </mousebind>
    <mousebind button="C-A-Down" action="click">
      <action name="sendtodesktopleft"/>
    </mousebind>
  </context>
  <context name="titlebar">
    <mousebind button="Left" action="drag">
      <action name="move"/>
    </mousebind>
    <mousebind button="Left" action="click">
      <action name="raise"/>
    </mousebind>
    <mousebind button="Left" action="press">
      <action name="focus"/>
    </mousebind>
    <mousebind button="Left" action="doubleclick">
      <action name="toggleshade"/>
    </mousebind>
    <mousebind button="Middle" action="press">
      <action name="lower"/>
    </mousebind>
    <mousebind button="Up" action="click">
      <action name="shade"/>
    </mousebind>
    <mousebind button="Down" action="click">
      <action name="unshade"/>
    </mousebind>
    <mousebind button="Right" action="press">
      <action name="showmenu"><menu>client-menu</menu></action>
    </mousebind>
  </context>
  <context name="handle">
    <mousebind button="Left" action="drag">
      <action name="move"/>
    </mousebind>
    <mousebind button="Left" action="click">
      <action name="raise"/>
    </mousebind>
    <mousebind button="Left" action="press">
      <action name="focus"/>
    </mousebind>
    <mousebind button="Middle" action="press">
      <action name="lower"/>
    </mousebind>
  </context>
  <context name="blcorner">
    <mousebind button="Left" action="drag">
      <action name="resize"/>
    </mousebind>
    <mousebind button="Left" action="press">
      <action name="focus"/>
    </mousebind>
  </context>
  <context name="brcorner">
    <mousebind button="Left" action="drag">
      <action name="resize"/>
    </mousebind>
    <mousebind button="Left" action="press">
      <action name="focus"/>
    </mousebind>
  </context>
  <context name="tlcorner">
    <mousebind button="Left" action="drag">
      <action name="resize"/>
    </mousebind>
    <mousebind button="Left" action="press">
      <action name="focus"/>
    </mousebind>
  </context>
  <context name="trcorner">
    <mousebind button="Left" action="drag">
      <action name="resize"/>
    </mousebind>
    <mousebind button="Left" action="press">
      <action name="focus"/>
    </mousebind>
  </context>
  <context name="client">
    <mousebind button="Left" action="press">
      <action name="focus"/>
      <action name="raise"/>
    </mousebind>
    <mousebind button="Middle" action="press">
      <action name="focus"/>
    </mousebind>
    <mousebind button="Right" action="press">
      <action name="focus"/>
    </mousebind>
  </context>
  <context name="icon">
    <mousebind button="Left" action="press">
      <action name="focus"/>
    </mousebind>
    <mousebind button="Right" action="press">
      <action name="showmenu"><menu>client-menu</menu></action>
    </mousebind>
    <mousebind button="Left" action="click">
      <action name="showmenu"><menu>client-menu</menu></action>
    </mousebind>
    <mousebind button="Left" action="doubleclick">
      <action name="close"/>
    </mousebind>
  </context>
  <context name="alldesktops">
    <mousebind button="Left" action="press">
      <action name="focus"/>
    </mousebind>
    <mousebind button="Left" action="click">
      <action name="toggleomnipresent"/>
    </mousebind>
  </context>
  <context name="shade">
    <mousebind button="Left" action="press">
      <action name="focus"/>
    </mousebind>
    <mousebind button="Left" action="click">
      <action name="toggleshade"/>
    </mousebind>
  </context>
  <context name="iconify">
    <mousebind button="Left" action="press">
      <action name="focus"/>
    </mousebind>
    <mousebind button="Left" action="click">
      <action name="iconify"/>
    </mousebind>
  </context>
  <context name="maximize">
    <mousebind button="Left" action="press">
      <action name="focus"/>
    </mousebind>
    <mousebind button="Middle" action="press">
      <action name="focus"/>
    </mousebind>
    <mousebind button="Right" action="press">
      <action name="focus"/>
    </mousebind>
    <mousebind button="Left" action="click">
      <action name="togglemaximizefull"/>
    </mousebind>
    <mousebind button="Middle" action="click">
      <action name="togglemaximizevert"/>
    </mousebind>
    <mousebind button="Right" action="click">
      <action name="togglemaximizehorz"/>
    </mousebind>
  </context>
  <context name="close">
    <mousebind button="Left" action="press">
      <action name="focus"/>
    </mousebind>
    <mousebind button="Left" action="click">
      <action name="close"/>
    </mousebind>
  </context>
  <context name="desktop">
    <mousebind button="A-Up" action="click">
      <action name="desktopright"/>
    </mousebind>
    <mousebind button="A-Down" action="click">
      <action name="desktopleft"/>
    </mousebind>
    <mousebind button="Middle" action="press">
      <action name="showmenu"><menu>client-list-menu</menu></action>
    </mousebind> 
    <mousebind button="Right" action="press">
      <action name="showmenu"><menu>root-menu</menu></action>
    </mousebind>
  </context>
</mouse>

<menu>
  <location>~/.openbox/menu</location>
</menu>

</openbox_config>
