mirror of
				https://github.com/labwc/labwc.git
				synced 2025-10-29 05:40:24 -04:00 
			
		
		
		
	 4a1375c701
			
		
	
	
		4a1375c701
		
	
	
	
	
		
			
			Shows all workspaces that current view can be sent to. Works best when added to Client menu. <menu id="client-send-to-menu" label="Send to..." /> Menu uses ">" and "<" to highlight the current workspace
		
			
				
	
	
		
			90 lines
		
	
	
	
		
			2.3 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			90 lines
		
	
	
	
		
			2.3 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version="1.0" encoding="UTF-8"?>
 | |
| 
 | |
| <openbox_menu>
 | |
| <!-- Note: for localization support of menu items "client-menu" has to be removed here -->
 | |
| <menu id="client-menu">
 | |
|   <item label="Minimize">
 | |
|     <action name="Iconify" />
 | |
|   </item>
 | |
|   <item label="Maximize">
 | |
|     <action name="ToggleMaximize" />
 | |
|   </item>
 | |
|   <item label="Fullscreen">
 | |
|     <action name="ToggleFullscreen" />
 | |
|   </item>
 | |
|   <item label="Roll Up/Down">
 | |
|     <action name="ToggleShade" />
 | |
|   </item>
 | |
|   <item label="Decorations">
 | |
|     <action name="ToggleDecorations" />
 | |
|   </item>
 | |
|   <item label="Always on Top">
 | |
|     <action name="ToggleAlwaysOnTop" />
 | |
|   </item>
 | |
|   <!--
 | |
|     Any menu with the id "workspaces" will be hidden
 | |
|     if there is only a single workspace available.
 | |
|   -->
 | |
|   <menu id="workspaces" label="Workspace">
 | |
|     <item label="Move Left">
 | |
|       <action name="SendToDesktop" to="left" />
 | |
|     </item>
 | |
|     <item label="Move Right">
 | |
|       <action name="SendToDesktop" to="right" />
 | |
|     </item>
 | |
|     <separator />
 | |
|     <item label="Always on Visible Workspace">
 | |
|       <action name="ToggleOmnipresent" />
 | |
|     </item>
 | |
|   </menu>
 | |
|   <!--
 | |
|     openbox default workspace selector
 | |
|     to use replace above workspace menu with the example below
 | |
|     the label is required, but you can change the text.
 | |
| 
 | |
|     <menu id="client-send-to-menu" label="Send to..." />
 | |
|   -->
 | |
|   <item label="Close">
 | |
|     <action name="Close" />
 | |
|   </item>
 | |
| </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>
 | |
|   <item label="Terminal">
 | |
|     <action name="Execute" command="alacritty" />
 | |
|   </item>
 | |
|   <item label="Reconfigure">
 | |
|     <action name="Reconfigure" />
 | |
|   </item>
 | |
|   <item label="Exit">
 | |
|     <action name="Exit" />
 | |
|   </item>
 | |
|   <item label="Poweroff">
 | |
|     <action name="Execute" command="systemctl -i poweroff" />
 | |
|   </item>
 | |
| </menu>
 | |
| 
 | |
| <menu id="some-custom-menu">
 | |
|   <!--
 | |
|     Creates menu title.
 | |
|     To create an empty header with no text,
 | |
|     set label=" ", not label=""
 | |
|   -->
 | |
|   <separator label="custom menu" />
 | |
|   <item label="Reconfigure">
 | |
|     <action name="Reconfigure" />
 | |
|   </item>
 | |
|   <item label="Exit">
 | |
|     <action name="Exit" />
 | |
|   </item>
 | |
| </menu>
 | |
| 
 | |
| </openbox_menu>
 |