aboutsummaryrefslogtreecommitdiffstats
path: root/sway/sway.5.scd
diff options
context:
space:
mode:
authorLibravatar Ian Fan <ianfan0@gmail.com>2018-07-31 11:38:34 +0100
committerLibravatar Ian Fan <ianfan0@gmail.com>2018-08-06 14:17:58 +0100
commit69e1a421fc2ccecd93f79c9dd0537671138bb0a9 (patch)
tree4102876eb5f08897e03250929af5754410b0ca96 /sway/sway.5.scd
parentcommands: complete layout implementation (diff)
downloadsway-69e1a421fc2ccecd93f79c9dd0537671138bb0a9.tar.gz
sway-69e1a421fc2ccecd93f79c9dd0537671138bb0a9.tar.zst
sway-69e1a421fc2ccecd93f79c9dd0537671138bb0a9.zip
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).
123*layout* toggle [split|tabbed|stacking|splitv|splith] [split|tabbed|stacking|splitv|splith]... 123*layout* toggle [split|tabbed|stacking|splitv|splith] [split|tabbed|stacking|splitv|splith]...
124 Cycles the layout mode of the focused container through a list of layouts. 124 Cycles the layout mode of the focused container through a list of layouts.
125 125
126*move* left|right|up|down [<px>] 126*move* left|right|up|down [<px> px]
127 Moves the focused container in the direction specified. If the container, 127 Moves the focused container in the direction specified. If the container,
128 the optional _px_ argument specifies how many pixels to move the container. 128 the optional _px_ argument specifies how many pixels to move the container.
129 If unspecified, the default is 10 pixels. Pixels are ignored when moving 129 If unspecified, the default is 10 pixels. Pixels are ignored when moving
130 tiled containers. 130 tiled containers.
131 131
132*move* [absolute] position <pos_x> [px] <pos_y> [px]
133 Moves the focused container to the specified position.
134
135*move* [absolute] position center|mouse
136 Moves the focused container to be centered on the workspace or mouse.
137
138*move* container|window to mark <mark>
139 Moves the focused container to the specified mark.
140
132*move* container|window to workspace <name> 141*move* container|window to workspace <name>
133 Moves the focused container to the specified workspace. 142 Moves the focused container to the specified workspace.
134 143
135*move* container|window to workspace prev|next 144*move* container|window to workspace prev|next|current
136 Moves the focused container to the previous or next workspace on this 145 Moves the focused container to the previous, next or current workspace on
137 output, or if no workspaces remain, the previous or next output. 146 this output, or if no workspaces remain, the previous or next output.
138 147
139*move* container|window to workspace prev\_on\_output|next\_on\_output 148*move* container|window to workspace prev\_on\_output|next\_on\_output
140 Moves the focused container to the previous or next workspace on this 149 Moves the focused container to the previous or next workspace on this