]> git.mdlowis.com Git - proto/labwc.git/commitdiff
client list combined menu examples
authorDroc <japhack@yahoo.com>
Wed, 18 Sep 2024 21:50:01 +0000 (16:50 -0500)
committerJohan Malm <johanmalm@users.noreply.github.com>
Thu, 19 Sep 2024 05:33:17 +0000 (06:33 +0100)
docs/menu.xml
docs/rc.xml.all

index f150b258a6b84ef264c89d5dedb31a823e765d09..2fd2c0945cdb0a444bbb38f42dc634d3f561b092 100644 (file)
 </menu>
 
 <menu id="root-menu">
+  <!-- Make client-list-combined-menu a submenu of root-menu 
+       You must supply a label or it will not appear in root-menu -->
+  <!--
+  <menu id="client-list-combined-menu" label="Running..." />
+  -->
   <item label="Web browser">
     <action name="Execute" command="firefox" />
   </item>
index cb95ac711ff6bd920c161c353bf61714e5b9fc45..2bd32804fdbec6100db8c178f5baa6a862198859 100644 (file)
       <action name="SnapToRegion" region="bottom-right" />
     </keybind>
   -->
+  <!-- keybind for client-list-combined-menu - will center in middle of screen -->
+  <!--
+    <keybind key="W-Space">
+      <action name="ShowMenu" menu="client-list-combined-menu" />
+      <position>
+        <x>center</x> 
+        <y>center</y>
+      </position>
+    </keybind>
+  -->
   </keyboard>
 
   <!--
       </mousebind>
       <mousebind button="Middle" action="Press">
         <action name="ShowMenu" menu="root-menu" />
+       <!-- openbox default, swap with above line to activate -->
+        <!-- <action name="ShowMenu" menu="client-list-combined-menu" /> -->
       </mousebind>
       <mousebind direction="Up" action="Scroll">
         <action name="GoToDesktop" to="left" wrap="yes" />