2021-03-05 22:14:02 +00:00
|
|
|
labwc-actions(5)
|
|
|
|
|
|
|
|
|
|
# NAME
|
|
|
|
|
|
|
|
|
|
labwc - actions
|
|
|
|
|
|
|
|
|
|
# ACTIONS
|
|
|
|
|
|
2022-05-31 22:01:26 +01:00
|
|
|
Actions are used in menus and keyboard/mouse bindings.
|
2021-03-05 22:14:02 +00:00
|
|
|
|
2022-05-06 21:57:13 +01:00
|
|
|
*<action name="Close">*
|
2022-05-31 22:01:26 +01:00
|
|
|
Close top-most window.
|
2021-07-12 21:46:10 +01:00
|
|
|
|
2022-12-08 05:07:49 +00:00
|
|
|
*<action name="Kill">*
|
|
|
|
|
Kill the process associated with the current window by sending it the
|
|
|
|
|
SIGTERM signal.
|
|
|
|
|
|
2023-02-19 12:36:32 +01:00
|
|
|
*<action name="Execute" command="value" />*
|
2022-05-06 21:55:46 +01:00
|
|
|
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.
|
2021-03-05 22:14:02 +00:00
|
|
|
|
|
|
|
|
*<action name="Exit">*
|
|
|
|
|
Exit labwc.
|
|
|
|
|
|
2021-12-11 23:03:38 +00:00
|
|
|
*<action name="Focus">*
|
|
|
|
|
Give focus to window under cursor.
|
|
|
|
|
|
|
|
|
|
*<action name="Raise">*
|
|
|
|
|
Restack the current window above other open windows.
|
|
|
|
|
|
2023-03-20 03:31:49 +01:00
|
|
|
*<action name="Lower">*
|
|
|
|
|
Restack the current window below other open windows.
|
|
|
|
|
|
2021-09-20 22:01:47 +01:00
|
|
|
*<action name="Iconify">*
|
|
|
|
|
Iconify (minimize) focused window.
|
|
|
|
|
|
2021-11-26 18:30:11 +00:00
|
|
|
*<action name="Move">*
|
|
|
|
|
Begin interactive move of window under cursor
|
|
|
|
|
|
2023-02-19 12:36:32 +01:00
|
|
|
*<action name="MoveToEdge" direction="value" />*
|
2022-05-31 22:01:26 +01:00
|
|
|
Move window to edge of outputs. Understands directions "left", "up",
|
2021-10-17 21:27:25 +01:00
|
|
|
"right" and "down".
|
|
|
|
|
|
2021-12-11 22:58:00 +00:00
|
|
|
*<action name="Resize">*
|
|
|
|
|
Begin interactive resize of window under cursor
|
|
|
|
|
|
2023-02-19 12:36:32 +01:00
|
|
|
*<action name="SnapToEdge" direction="value" />*
|
2022-05-31 22:01:26 +01:00
|
|
|
Resize window to fill half the output in the given direction. Supports
|
2021-10-18 19:47:32 +01:00
|
|
|
directions "left", "up", "right", "down" and "center".
|
2021-07-20 20:06:48 +01:00
|
|
|
|
2023-02-19 12:36:32 +01:00
|
|
|
*<action name="SnapToRegion" region="value" />*
|
2023-01-07 03:30:10 +01:00
|
|
|
Resize and move active window according to the given region.
|
|
|
|
|
See labwc-config(5) for further information on how to define regions.
|
|
|
|
|
|
2021-03-05 22:14:02 +00:00
|
|
|
*<action name="NextWindow">*
|
|
|
|
|
Cycle focus to next window.
|
|
|
|
|
|
2021-12-06 21:13:21 +00:00
|
|
|
*<action name="PreviousWindow">*
|
|
|
|
|
Cycle focus to previous window.
|
|
|
|
|
|
2021-03-05 22:14:02 +00:00
|
|
|
*<action name="Reconfigure">*
|
|
|
|
|
Re-load configuration and theme files.
|
|
|
|
|
|
2023-02-19 12:36:32 +01:00
|
|
|
*<action name="ShowMenu" menu="value" />*
|
2022-01-26 00:07:10 +01:00
|
|
|
Show menu. Valid menu names are "root-menu" and "client-menu".
|
2021-03-05 22:14:02 +00:00
|
|
|
|
2021-09-20 22:01:47 +01:00
|
|
|
*<action name="ToggleDecorations">*
|
|
|
|
|
Toggle decorations of focused window.
|
|
|
|
|
|
|
|
|
|
*<action name="ToggleFullscreen">*
|
|
|
|
|
Toggle fullscreen state of focused window.
|
|
|
|
|
|
|
|
|
|
*<action name="ToggleMaximize">*
|
|
|
|
|
Toggle maximize state of focused window.
|
2021-07-13 21:54:22 +01:00
|
|
|
|
2023-05-04 21:29:14 +01:00
|
|
|
*<action name="Maximize">*
|
|
|
|
|
Maximize focused window.
|
|
|
|
|
|
2022-04-09 01:16:09 +02:00
|
|
|
*<action name="ToggleAlwaysOnTop">*
|
|
|
|
|
Toggle always-on-top of focused window.
|
|
|
|
|
|
2023-05-11 22:26:41 +01:00
|
|
|
*<action name="ToggleAlwaysOnBottom">*
|
|
|
|
|
Toggle bewteen layers 'always-on-bottom' and 'normal'. When a window is
|
|
|
|
|
in the 'always-on-bottom' layer, it is rendered below all other
|
|
|
|
|
top-level windows. It is anticipated that this action will be useful
|
|
|
|
|
when defining window-rules for desktop-management tools that do not
|
|
|
|
|
support the wlr-layer-shell protocol.
|
|
|
|
|
|
2023-03-03 18:16:46 +01:00
|
|
|
*<action name="ToggleKeybinds">*
|
|
|
|
|
Stop handling keybinds other than ToggleKeybinds itself.
|
|
|
|
|
This can be used to allow A-Tab and similar keybinds to be delivered
|
|
|
|
|
to Virtual Machines, VNC clients or nested compositors.
|
|
|
|
|
A second call will restore all original keybinds.
|
|
|
|
|
|
2023-03-05 17:16:23 +01:00
|
|
|
*<action name="FocusOutput" output="HDMI-A-1" />*
|
|
|
|
|
Give focus to topmost window on given output and warp the cursor
|
|
|
|
|
to the center of the window. If the given output does not contain
|
|
|
|
|
any windows, the cursor is centered on the given output.
|
|
|
|
|
|
2023-05-14 20:44:59 +03:00
|
|
|
*<action name="GoToDesktop" to="value" wrap="yes" />*
|
2023-03-26 10:57:53 +01:00
|
|
|
Switch to workspace.
|
2022-06-15 01:38:22 +02:00
|
|
|
|
2023-03-26 10:57:53 +01:00
|
|
|
*to* The workspace to switch to. Supported values are "last", "left",
|
|
|
|
|
"right" or the full name of a workspace or its index (starting at 1)
|
|
|
|
|
as configured in rc.xml.
|
|
|
|
|
|
2023-05-14 20:44:59 +03:00
|
|
|
*wrap* [yes|no] Wrap around from last desktop to first, and vice
|
|
|
|
|
versa. Default yes.
|
|
|
|
|
|
|
|
|
|
*<action name="SendToDesktop" to="value" follow="yes" wrap="yes" />*
|
2022-06-15 01:38:22 +02:00
|
|
|
Send active window to workspace.
|
2023-03-26 10:57:53 +01:00
|
|
|
|
|
|
|
|
*to* The workspace to send the window to. Supported values are the same
|
|
|
|
|
as for GoToDesktop.
|
|
|
|
|
|
|
|
|
|
*follow* [yes|no] Also switch to the specified workspace. Default yes.
|
2022-06-15 01:38:22 +02:00
|
|
|
|
2023-05-14 20:44:59 +03:00
|
|
|
*wrap* [yes|no] Wrap around from last desktop to first, and vice
|
|
|
|
|
versa. Default yes.
|
|
|
|
|
|
2022-09-06 13:22:43 -04:00
|
|
|
*<action name="None">*
|
|
|
|
|
If used as the only action for a binding: clear an earlier defined binding.
|
|
|
|
|
|
2021-03-05 22:14:02 +00:00
|
|
|
# SEE ALSO
|
|
|
|
|
|
|
|
|
|
labwc(1), labwc-config(5), labwc-theme(5)
|