docs: describe MoveToOutput/FitToOutput action

This commit is contained in:
Jens Peters 2024-01-22 22:56:47 +01:00 committed by Johan Malm
parent 6391f9bcb2
commit 945eea8f27

View file

@ -163,6 +163,19 @@ Actions are used in menus and keyboard/mouse bindings.
to the center of the window. If the given output does not contain to the center of the window. If the given output does not contain
any windows, the cursor is centered on the given output. any windows, the cursor is centered on the given output.
*<action name="MoveToOutput" name="HDMI-A-1" direction="value" />*
Moves active window to other output, unless the window state is
fullscreen.
If *name* is specified, the window will be sent directly to the specified
output and *direction* is ignored. If *name* is omitted, *direction* may
be one of "left", "right", "up" or "down" to indicate that the window
should be moved to the next output in that direction (if one exists).
*<action name="FitToOutput" />*
Resizes active window size to width and height of the output when the
window size exceeds the output size.
*<action name="GoToDesktop" to="value" wrap="yes" />* *<action name="GoToDesktop" to="value" wrap="yes" />*
Switch to workspace. Switch to workspace.