]> Dogcows Code - chaz/openbox/blobdiff - data/rc.xml.in
add back the focusLast option for the "i lost count"th time
[chaz/openbox] / data / rc.xml.in
index 8f24c94edaf44cd13b48bd457dbb28d1543c3885..a1f2762718c3ea731a637b47d7fad7b7948afadc 100644 (file)
@@ -1,12 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
 <!-- Do not edit this file, it will be overwritten on install.
-        Copy the file to $HOME/.openbox/ instead. -->
+        Copy the file to $HOME/.config/openbox/ instead. -->
 
-<openbox_config xmlns="http://openbox/.org"
+<openbox_config xmlns="http://openbox.org/"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-        xsi:schemaLocation="
-                http://openbox.org/schema.php?type=rc&amp;version=@version@
+        xsi:schemaLocation="http://openbox.org/
                 file://@xsddir@/rc.xsd">
 
 <resistance>
@@ -17,7 +16,7 @@
 <focus>
   <focusNew>yes</focusNew>
   <followMouse>no</followMouse>
-  <focusLast>yes</focusLast>
+  <focusLast>no</focusLast>
   <focusDelay>0</focusDelay>
   <raiseOnFocus>no</raiseOnFocus>
 </focus>
   <titlelayout>NLIMC</titlelayout>
 </theme>
 
+<placement>
+  <policy>Smart</policy>
+</placement>
+
 <desktops>
   <number>4</number>
+  <firstdesk>1</firstdesk>
   <names>
     <name>one</name>
     <name>two</name>
@@ -48,7 +52,8 @@
   <floatingX>0</floatingX>
   <floatingY>0</floatingY>
   <autoHide>no</autoHide>
-  <hideTimeout>300</hideTimeout>
+  <hideDelay>300</hideDelay>
+  <moveButton>A-Left</moveButton>
 </dock>
 
 <keyboard>
     <action name="ToggleShade"/>
   </keybind>
   <keybind key="C-A-Left">
-    <action name="DesktopLeft"/>
+    <action name="DesktopLeft"><wrap>no</wrap></action>
   </keybind>
   <keybind key="C-A-Right">
-    <action name="DesktopRight"/>
+    <action name="DesktopRight"><wrap>no</wrap></action>
   </keybind>
   <keybind key="C-A-Up">
-    <action name="DesktopUp"/>
+    <action name="DesktopUp"><wrap>no</wrap></action>
   </keybind>
   <keybind key="C-A-Down">
-    <action name="DesktopDown"/>
+    <action name="DesktopDown"><wrap>no</wrap></action>
   </keybind>
   <keybind key="S-A-Left">
-    <action name="SendToDesktopLeft"/>
+    <action name="SendToDesktopLeft"><wrap>no</wrap></action>
   </keybind>
   <keybind key="S-A-Right">
-    <action name="SendToDesktopRight"/>
+    <action name="SendToDesktopRight"><wrap>no</wrap></action>
   </keybind>
   <keybind key="S-A-Up">
-    <action name="SendToDesktopUp"/>
+    <action name="SendToDesktopUp"><wrap>no</wrap></action>
   </keybind>
   <keybind key="S-A-Down">
-    <action name="SendToDesktopDown"/>
+    <action name="SendToDesktopDown"><wrap>no</wrap></action>
   </keybind>
   <keybind key="C-A-d">
     <action name="ToggleShowDesktop"/>
       <action name="ShowMenu"><menu>client-menu</menu></action>
     </mousebind>
     <mousebind button="A-Up" action="Click">
-      <action name="DesktopNext"/>
+      <action name="DesktopPrevious"/>
     </mousebind>
     <mousebind button="A-Down" action="Click">
-      <action name="DesktopPrevious"/>
+      <action name="DesktopNext"/>
     </mousebind>
     <mousebind button="C-A-Up" action="Click">
-      <action name="SendToDesktopNext"/>
+      <action name="SendToDesktopPrevious"/>
     </mousebind>
     <mousebind button="C-A-Down" action="Click">
-      <action name="SendToDesktopPrevious"/>
+      <action name="SendToDesktopNext"/>
     </mousebind>
   </context>
   <context name="Titlebar">
     <mousebind button="Right" action="Press">
       <action name="ShowMenu"><menu>client-menu</menu></action>
     </mousebind>
-    <mousebind button="Left" action="Click">
+    <mousebind button="Left" action="Press">
       <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">
   </context>
   <context name="Desktop">
     <mousebind button="Up" action="Press">
-      <action name="DesktopNext"/>
+      <action name="DesktopPrevious"/>
     </mousebind>
     <mousebind button="Down" action="Press">
-      <action name="DesktopPrevious"/>
+      <action name="DesktopNext"/>
     </mousebind>
     <mousebind button="A-Up" action="Press">
-      <action name="DesktopNext"/>
+      <action name="DesktopPrevious"/>
     </mousebind>
     <mousebind button="A-Down" action="Press">
-      <action name="DesktopPrevious"/>
+      <action name="DesktopNext"/>
     </mousebind>
     <mousebind button="Left" action="Press">
       <action name="Focus"/>
+      <action name="Raise"/>
     </mousebind> 
     <mousebind button="Middle" action="Press">
       <action name="ShowMenu"><menu>client-list-menu</menu></action>
   </context>
   <context name="MoveResize">
     <mousebind button="Up" action="Press">
-      <action name="DesktopNext"/>
+      <action name="DesktopPrevious"/>
     </mousebind>
     <mousebind button="Down" action="Press">
-      <action name="DesktopPrevious"/>
+      <action name="DesktopNext"/>
     </mousebind>
     <mousebind button="A-Up" action="Press">
-      <action name="DesktopNext"/>
+      <action name="DesktopPrevious"/>
     </mousebind>
     <mousebind button="A-Down" action="Press">
-      <action name="DesktopPrevious"/>
+      <action name="DesktopNext"/>
     </mousebind>
   </context>
 </mouse>
   <!-- You can specify more than one menu file in here and they are all loaded,
        just don't make menu ids clash or, well, it'll be kind of pointless -->
 
-  <!-- debian menu file -->
-  <file>/etc/X11/openbox/openbox-menu.xml</file>
-
-  <!-- default menu file (or custom one in $HOME/.openbox/) -->
+  <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
   <file>menu.xml</file>
 </menu>
 
This page took 0.0288 seconds and 4 git commands to generate.