introduce next/prev as a direction for focus/move commands.

This commit is contained in:
wil 2016-12-22 18:46:00 +01:00
parent bc3dc97026
commit 0ff9fe9a7a
6 changed files with 75 additions and 14 deletions

View file

@ -92,8 +92,10 @@ They are expected to be used with **bindsym** or at runtime through **swaymsg**(
focused container. <n> can be a positive or negative integer. These commands
only have an effect if the focused container uses one of the "auto" layouts.
**move** <left|right|up|down>::
Moves the focused container _left_, _right_, _up_, or _down_.
**move** <left|right|up|down|next|prev>::
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** <container|window> to workspace <name>::
Moves the focused container to the workspace identified by _name_.