aboutsummaryrefslogtreecommitdiffstats
path: root/sway/sway.5.scd
diff options
context:
space:
mode:
authorLibravatar Ian Fan <ianfan0@gmail.com>2018-08-05 00:16:21 +0100
committerLibravatar Ian Fan <ianfan0@gmail.com>2018-08-06 14:17:58 +0100
commitdd48c8a579918f34c6a3441068e6f4b7e753e09c (patch)
tree2c347d2d8dd0ace5213dfcc3b3cc1a34ab6fca28 /sway/sway.5.scd
parentcommands: complete workspace implementation (diff)
downloadsway-dd48c8a579918f34c6a3441068e6f4b7e753e09c.tar.gz
sway-dd48c8a579918f34c6a3441068e6f4b7e753e09c.tar.zst
sway-dd48c8a579918f34c6a3441068e6f4b7e753e09c.zip
commands: add optional flags to move
Diffstat (limited to 'sway/sway.5.scd')
-rw-r--r--sway/sway.5.scd19
1 files changed, 12 insertions, 7 deletions
diff --git a/sway/sway.5.scd b/sway/sway.5.scd
index 36ce13df..b43cbe8d 100644
--- a/sway/sway.5.scd
+++ b/sway/sway.5.scd
@@ -135,24 +135,29 @@ They are expected to be used with *bindsym* or at runtime through *swaymsg*(1).
135*move* [absolute] position center|mouse 135*move* [absolute] position center|mouse
136 Moves the focused container to be centered on the workspace or mouse. 136 Moves the focused container to be centered on the workspace or mouse.
137 137
138*move* container|window to mark <mark> 138*move* container|window [to] mark <mark>
139 Moves the focused container to the specified mark. 139 Moves the focused container to the specified mark.
140 140
141*move* container|window to workspace <name> 141*move* [--no-auto-back-and-forth] container|window [to] workspace [number] <name>
142 Moves the focused container to the specified workspace. 142 Moves the focused container to the specified workspace. The string "number"
143 is optional and is used to match a workspace with the same number, even if
144 it has a different name.
143 145
144*move* container|window to workspace prev|next|current 146*move* container|window [to] workspace prev|next|current
145 Moves the focused container to the previous, next or current workspace on 147 Moves the focused container to the previous, next or current workspace on
146 this output, or if no workspaces remain, the previous or next output. 148 this output, or if no workspaces remain, the previous or next output.
147 149
148*move* container|window to workspace prev\_on\_output|next\_on\_output 150*move* container|window [to] workspace prev\_on\_output|next\_on\_output
149 Moves the focused container to the previous or next workspace on this 151 Moves the focused container to the previous or next workspace on this
150 output, wrapping around if already at the first or last workspace. 152 output, wrapping around if already at the first or last workspace.
151 153
152*move* container|window|workspace to output <name> 154*move* container|window [to] workspace back_and_forth
155 Moves the focused container to previously focused workspace.
156
157*move* container|window|workspace [to] output <name>
153 Moves the focused container or workspace to the specified output. 158 Moves the focused container or workspace to the specified output.
154 159
155*move* container|window|workspace to output up|right|down|left 160*move* container|window|workspace [to] output up|right|down|left
156 Moves the focused container or workspace to next output in the specified 161 Moves the focused container or workspace to next output in the specified
157 direction. 162 direction.
158 163