]> Dogcows Code - chaz/openbox/blobdiff - data/rc3
load the plugins in the rc3 for the menus
[chaz/openbox] / data / rc3
index e243901f97595fe89155730df524b463cb3f5bbc..f379d4c23d5d34609a41d59df821ddb3c5e1a229 100644 (file)
--- a/data/rc3
+++ b/data/rc3
@@ -1,13 +1,13 @@
 <?xml version="1.0"?>
 
-<!-- Do not edit this file, it will be overwritten on install. Edit the file
-     in $HOME/.openbox/ instead. -->
+<!-- Do not edit this file, it will be overwritten on install. Copy the file
+     to $HOME/.openbox/ instead. -->
 
 <openbox_config>
 
 <resistance>
   <strength>10</strength>
-  <windows>yes</windows>
+  <screen_edge_strength>10</screen_edge_strength>
 </resistance>
 
 <placement>
@@ -24,6 +24,7 @@
 
 <theme>
   <theme>operation</theme>
+  <titlelayout>NLIMC</titlelayout>
 </theme>
 
 <desktops>
     <name>three</name>
     <name>four</name>
   </names>
+  <cyclingDialog>yes</cyclingDialog>
 </desktops>
 
-<moveresize>
-  <opaqueMove>yes</opaqueMove>
-  <opaqueResize>yes</opaqueResize>
-</moveresize>
+<resize>
+  <drawContents>yes</drawContents>
+</resize>
 
 <dock>
   <position>topleft</position>
@@ -52,6 +53,8 @@
 </dock>
 
 <keyboard>
+  <chainQuitKey>C-g</chainQuitKey>
+
   <keybind key="A-F10">
     <action name="MaximizeFull"></action>
   </keybind>
       <action name="lower"/>
     </mousebind>
     <mousebind button="A-Right" action="press">
-      <action name="showmenu"><menu>client-menu</menu></action>
+      <action name="showmenu">
+        <menu plugin="client_menu">client-menu</menu>
+      </action>
     </mousebind>
     <mousebind button="A-Up" action="click">
       <action name="desktopright"/>
       <action name="unshade"/>
     </mousebind>
     <mousebind button="Right" action="press">
-      <action name="showmenu"><menu>client-menu</menu></action>
+      <action name="showmenu">
+        <menu plugin="client_menu">client-menu</menu>
+      </action>
     </mousebind>
   </context>
   <context name="handle">
       <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="focus"/>
     </mousebind>
     <mousebind button="Right" action="press">
-      <action name="showmenu"><menu>client-menu</menu></action>
+      <action name="showmenu">
+        <menu plugin="client_menu">client-menu</menu>
+      </action>
     </mousebind>
     <mousebind button="Left" action="click">
-      <action name="showmenu"><menu>client-menu</menu></action>
+      <action name="showmenu">
+        <menu plugin="client_menu">client-menu</menu>
+      </action>
     </mousebind>
     <mousebind button="Left" action="doubleclick">
       <action name="close"/>
       <action name="close"/>
     </mousebind>
   </context>
-  <context name="root">
-    <mousebind button="Up" action="click">
-      <action name="desktopright"/>
-    </mousebind>
-    <mousebind button="Down" action="click">
-      <action name="desktopleft"/>
-    </mousebind>
+  <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 plugin="client_list_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 -->
-  <menu id="switch" label="Switch To">
-    <item label="Openbox 2">
-      <action name="restart"><execute>openbox</execute></action>
-    </item>
-  </menu>
-  <item label="Restart">
-    <action name="restart" />
-  </item>
-  <item label="Exit">
-    <action name="exit" />
-  </item>
+<menu>
+  <location>~/.openbox/menu</location>
 </menu>
 
 </openbox_config>
This page took 0.030619 seconds and 4 git commands to generate.