]> git.mdlowis.com Git - proto/labwc.git/commitdiff
labwc-actions(5): update action format
authorFlrian <4444593+Flrian@users.noreply.github.com>
Sun, 19 Feb 2023 11:36:32 +0000 (12:36 +0100)
committerConsolatis <35009135+Consolatis@users.noreply.github.com>
Sun, 19 Feb 2023 11:51:50 +0000 (12:51 +0100)
docs/labwc-actions.5.scd

index 10c3b542576c72dff85bd6591397ccb96eb422cc..98c246d14b86e60fa4764de3db3bb8e53f9cd042 100644 (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
        SIGTERM signal.
 
-*<action name="Execute"><command>*
+*<action name="Execute" command="value" />*
        Execute command.  Note that in the interest of backward compatibility,
        labwc supports <execute> as an alternative to <command> even though
        openbox documentation states that it is deprecated.
@@ -35,18 +35,18 @@ Actions are used in menus and keyboard/mouse bindings.
 *<action name="Move">*
        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",
        "right" and "down".
 
 *<action name="Resize">*
        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
        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.
        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">*
        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".
 
 *<action name="ToggleDecorations">*
@@ -74,12 +74,12 @@ Actions are used in menus and keyboard/mouse bindings.
 *<action name="ToggleAlwaysOnTop">*
        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
        full name of a workspace or its index (starting at 1) as configured in
        rc.xml.
 
-*<action name="SendToDesktop"><to>*
+*<action name="SendToDesktop" to="value" />*
        Send active window to workspace.
        Supported values are the same as for GoToDesktop.