mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
client list combined menu examples
This commit is contained in:
parent
d26b868dbe
commit
4f11dad45b
2 changed files with 17 additions and 0 deletions
|
|
@ -43,6 +43,11 @@
|
|||
</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>
|
||||
|
|
|
|||
|
|
@ -316,6 +316,16 @@
|
|||
<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>
|
||||
|
||||
<!--
|
||||
|
|
@ -492,6 +502,8 @@
|
|||
</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" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue