From b35782bcade4eb21b8e7dab455dad64ab721438d Mon Sep 17 00:00:00 2001 From: Calvin Lee Date: Mon, 27 Feb 2017 20:30:58 -0700 Subject: 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. --- sway/sway.5.txt | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'sway/sway.5.txt') 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** :: - 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** <[px] px>:: + Moves the focused container _left_, _right_, _up_, or _down_. If the window + is floating it moves it _px_ in that direction. + +**move** :: + 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** to workspace :: Moves the focused container to the workspace identified by _name_. -- cgit v1.2.3 From 032907e9d281ccfed0c881b5ae3e47dc6e8bf412 Mon Sep 17 00:00:00 2001 From: Calvin Lee Date: Wed, 1 Mar 2017 11:00:56 -0700 Subject: Clarify move documentation for floating containers --- sway/sway.5.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sway/sway.5.txt') diff --git a/sway/sway.5.txt b/sway/sway.5.txt index e403165f..f425cfe7 100644 --- a/sway/sway.5.txt +++ b/sway/sway.5.txt @@ -100,9 +100,10 @@ They are expected to be used with **bindsym** or at runtime through **swaymsg**( **layout** toggle split:: Cycles between available split layouts. -**move** <[px] px>:: +**move** <[px]>:: Moves the focused container _left_, _right_, _up_, or _down_. If the window - is floating it moves it _px_ in that direction. + is floating it moves it _px_ in that direction, defaulting to 10. Tiled + containers are moved the same regardless of the _px_ argument. **move** :: Moving to _prev_ or _next_ swaps the container with its sibling in the same -- cgit v1.2.3