]> Dogcows Code - chaz/openbox/blobdiff - data/rc.xml.in
config option for icons in desktop menus
[chaz/openbox] / data / rc.xml.in
index 92d65e8d26ba35512a9b4260c83b97135d972c98..b07a8cdce3362edd17910cf4613b371d88ba3a48 100644 (file)
@@ -3,21 +3,21 @@
 <!-- Do not edit this file, it will be overwritten on install.
         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>
   <strength>10</strength>
   <screen_edge_strength>20</screen_edge_strength>
+  <edges_hit_layers_below>no</edges_hit_layers_below>
 </resistance>
 
 <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>
@@ -49,6 +54,8 @@
   <floatingY>0</floatingY>
   <autoHide>no</autoHide>
   <hideDelay>300</hideDelay>
+  <desktopMenuIcons>yes</desktopMenuIcons>
+  <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.027582 seconds and 4 git commands to generate.