aboutsummaryrefslogtreecommitdiff
path: root/sway/sway.5.txt
diff options
context:
space:
mode:
authorCalvin Lee <cyrus296@gmail.com>2017-02-27 20:30:58 -0700
committerCalvin Lee <cyrus296@gmail.com>2017-03-01 11:00:16 -0700
commitb35782bcade4eb21b8e7dab455dad64ab721438d (patch)
tree18dd68d4a4f06da3dc069cfde54a3ebd2fe64f77 /sway/sway.5.txt
parent21ad45b622eb1fc2c68d1036fd9763a37fec668b (diff)
i3 feature support: Moving flotaing containers
This commit lets the 'move' command apply to floating containers as well as tiled ones. The command may be appended with a number of pixels and then optionally the string `px` (like '10 px') in order to move the container more or fewer than the standard ten pixels.
Diffstat (limited to 'sway/sway.5.txt')
-rw-r--r--sway/sway.5.txt13
1 files changed, 8 insertions, 5 deletions
diff --git a/sway/sway.5.txt b/sway/sway.5.txt
index 19f7eb1d..e403165f 100644
--- a/sway/sway.5.txt
+++ b/sway/sway.5.txt
@@ -100,11 +100,14 @@ They are expected to be used with **bindsym** or at runtime through **swaymsg**(
**layout** toggle split::
Cycles between available split layouts.
-**move** <left|right|up|down|next|prev|first>::
- Moves the focused container _left_, _right_, _up_, or _down_. Moving to _prev_
- or _next_ swaps the container with its sibling in the same container. Move
- _first_ exchanges the focused element in an auto layout with the first
- element, i.e. promotes the focused element to master position.
+**move** <left|right|up|down> <[px] px>::
+ Moves the focused container _left_, _right_, _up_, or _down_. If the window
+ is floating it moves it _px_ in that direction.
+
+**move** <next|prev|first>::
+ Moving to _prev_ or _next_ swaps the container with its sibling in the same
+ container. Move _first_ exchanges the focused element in an auto layout with
+ the first element, i.e. promotes the focused element to master position.
**move** <container|window> to workspace <name>::
Moves the focused container to the workspace identified by _name_.