mirror of
https://github.com/labwc/labwc.git
synced 2026-04-12 08:21:13 -04:00
[experiment] support menu.yaml
This commit is contained in:
parent
85b6e25484
commit
52a1c1c880
4 changed files with 119 additions and 33 deletions
33
docs/menu.yaml
Normal file
33
docs/menu.yaml
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
menu:
|
||||
- id: client-menu
|
||||
item:
|
||||
label: Minimize
|
||||
action: { name: Iconify }
|
||||
item:
|
||||
label: Maximize
|
||||
action: { name: ToggleMaximize }
|
||||
menu:
|
||||
id: workspaces
|
||||
label: Workspace
|
||||
item:
|
||||
label: Move Left
|
||||
action: { name: SendToDesktop, to: left }
|
||||
item:
|
||||
label: Move Right
|
||||
action: { name: SendToDesktop, to: right }
|
||||
separator:
|
||||
item:
|
||||
label: Always on Visible Workspace
|
||||
action: { name: ToggleOmnipresent }
|
||||
item:
|
||||
label: Close
|
||||
action: { name: Close }
|
||||
|
||||
- id: root-menu
|
||||
items:
|
||||
- label: Terminal
|
||||
action: { name: Execute, command: alacritty }
|
||||
- label: Reconfigure
|
||||
action: { name: Reconfigure }
|
||||
- label: Exit
|
||||
action: { name: Exit }
|
||||
Loading…
Add table
Add a link
Reference in a new issue