]> Dogcows Code - chaz/openbox/blobdiff - data/rc3
put debian menu file first
[chaz/openbox] / data / rc3
index ae3263a034b2ddb53bc875893d1a94c915665e29..6d9427de3083c68db230a72cf94f7220b81b7697 100644 (file)
--- a/data/rc3
+++ b/data/rc3
       <action name="close"/>
     </mousebind>
   </context>
-  <context name="root">
+  <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></action>
+      <action name="showmenu">
+        <menu>root-menu</menu>
+      </action>
     </mousebind>
   </context>
 </mouse>
 
-<menu id="root" label="Openbox 3">
-  <menu id="apps" label="Applications">
-    <item label="Xterm">
-      <action name="execute"><execute>xterm</execute></action>
-    </item>
-    <item label="Mozilla">
-      <action name="execute"><execute>mozilla</execute></action>
-    </item>
-    <item label="Gaim">
-      <action name="execute"><execute>gaim</execute></action>
-    </item>
-    <item label="Quark">
-      <action name="execute"><execute>strange-quark</execute></action>
-    </item>
-  </menu>
-  <menu id="games" label="Games">
-    <item label="Crack-Attack">
-      <action name="execute"><execute>crack-attack</execute></action>
-    </item>
-    <item label="XFRisk">
-      <action name="execute"><execute>xfrisk</execute></action>
-    </item>
-    <item label="Quake III">
-      <action name="execute"><execute>quake3</execute></action>
-    </item>
-  </menu>
-  <item label="--" /> <!-- separator -->
-  <item label="Restart">
-    <action name="restart" />
-  </item>
-  <item label="Exit">
-    <action name="exit" />
-  </item>
+<menu>
+  <!-- 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</file>
+
+  <!-- default menu file (or custom one in $HOME/.openbox/) -->
+  <file>menu</file>
 </menu>
 
 </openbox_config>
This page took 0.020907 seconds and 4 git commands to generate.