aboutsummaryrefslogtreecommitdiff
path: root/sway/sway.5.scd
diff options
context:
space:
mode:
authorIan Fan <ianfan0@gmail.com>2018-07-31 11:38:34 +0100
committerIan Fan <ianfan0@gmail.com>2018-08-06 14:17:58 +0100
commit69e1a421fc2ccecd93f79c9dd0537671138bb0a9 (patch)
tree4102876eb5f08897e03250929af5754410b0ca96 /sway/sway.5.scd
parentbe64c466245d4c537a70484abfe21adc9d60f3c5 (diff)
commands: complete move implementation
Diffstat (limited to 'sway/sway.5.scd')
-rw-r--r--sway/sway.5.scd17
1 files changed, 13 insertions, 4 deletions
diff --git a/sway/sway.5.scd b/sway/sway.5.scd
index a580c7d6..8083106b 100644
--- a/sway/sway.5.scd
+++ b/sway/sway.5.scd
@@ -123,18 +123,27 @@ They are expected to be used with *bindsym* or at runtime through *swaymsg*(1).
*layout* toggle [split|tabbed|stacking|splitv|splith] [split|tabbed|stacking|splitv|splith]...
Cycles the layout mode of the focused container through a list of layouts.
-*move* left|right|up|down [<px>]
+*move* left|right|up|down [<px> px]
Moves the focused container in the direction specified. If the container,
the optional _px_ argument specifies how many pixels to move the container.
If unspecified, the default is 10 pixels. Pixels are ignored when moving
tiled containers.
+*move* [absolute] position <pos_x> [px] <pos_y> [px]
+ Moves the focused container to the specified position.
+
+*move* [absolute] position center|mouse
+ Moves the focused container to be centered on the workspace or mouse.
+
+*move* container|window to mark <mark>
+ Moves the focused container to the specified mark.
+
*move* container|window to workspace <name>
Moves the focused container to the specified workspace.
-*move* container|window to workspace prev|next
- Moves the focused container to the previous or next workspace on this
- output, or if no workspaces remain, the previous or next output.
+*move* container|window to workspace prev|next|current
+ Moves the focused container to the previous, next or current workspace on
+ this output, or if no workspaces remain, the previous or next output.
*move* container|window to workspace prev\_on\_output|next\_on\_output
Moves the focused container to the previous or next workspace on this