labwc-actions(5): update action format

This commit is contained in:
Flrian 2023-02-19 12:36:32 +01:00 committed by Consolatis
parent 913f89b6c4
commit df7c47b8d7

View file

@ -15,7 +15,7 @@ Actions are used in menus and keyboard/mouse bindings.
Kill the process associated with the current window by sending it the Kill the process associated with the current window by sending it the
SIGTERM signal. SIGTERM signal.
*<action name="Execute"><command>* *<action name="Execute" command="value" />*
Execute command. Note that in the interest of backward compatibility, Execute command. Note that in the interest of backward compatibility,
labwc supports <execute> as an alternative to <command> even though labwc supports <execute> as an alternative to <command> even though
openbox documentation states that it is deprecated. openbox documentation states that it is deprecated.
@ -35,18 +35,18 @@ Actions are used in menus and keyboard/mouse bindings.
*<action name="Move">* *<action name="Move">*
Begin interactive move of window under cursor Begin interactive move of window under cursor
*<action name="MoveToEdge"><direction>* *<action name="MoveToEdge" direction="value" />*
Move window to edge of outputs. Understands directions "left", "up", Move window to edge of outputs. Understands directions "left", "up",
"right" and "down". "right" and "down".
*<action name="Resize">* *<action name="Resize">*
Begin interactive resize of window under cursor Begin interactive resize of window under cursor
*<action name="SnapToEdge"><direction>* *<action name="SnapToEdge" direction="value" />*
Resize window to fill half the output in the given direction. Supports Resize window to fill half the output in the given direction. Supports
directions "left", "up", "right", "down" and "center". directions "left", "up", "right", "down" and "center".
*<action name="SnapToRegion" region="snap-1" />* *<action name="SnapToRegion" region="value" />*
Resize and move active window according to the given region. Resize and move active window according to the given region.
See labwc-config(5) for further information on how to define regions. See labwc-config(5) for further information on how to define regions.
@ -59,7 +59,7 @@ Actions are used in menus and keyboard/mouse bindings.
*<action name="Reconfigure">* *<action name="Reconfigure">*
Re-load configuration and theme files. Re-load configuration and theme files.
*<action name="ShowMenu"><menu>* *<action name="ShowMenu" menu="value" />*
Show menu. Valid menu names are "root-menu" and "client-menu". Show menu. Valid menu names are "root-menu" and "client-menu".
*<action name="ToggleDecorations">* *<action name="ToggleDecorations">*
@ -74,12 +74,12 @@ Actions are used in menus and keyboard/mouse bindings.
*<action name="ToggleAlwaysOnTop">* *<action name="ToggleAlwaysOnTop">*
Toggle always-on-top of focused window. Toggle always-on-top of focused window.
*<action name="GoToDesktop"><to>* *<action name="GoToDesktop" to="value" />*
Switch to workspace. Supported values are "last", "left", "right" or the Switch to workspace. Supported values are "last", "left", "right" or the
full name of a workspace or its index (starting at 1) as configured in full name of a workspace or its index (starting at 1) as configured in
rc.xml. rc.xml.
*<action name="SendToDesktop"><to>* *<action name="SendToDesktop" to="value" />*
Send active window to workspace. Send active window to workspace.
Supported values are the same as for GoToDesktop. Supported values are the same as for GoToDesktop.