focus: support focus prev|next [sibling]

This commit is contained in:
Ronan Pigott 2019-10-24 11:41:04 -07:00 committed by Drew DeVault
parent ec14a00e8c
commit f5f12a69f6
2 changed files with 58 additions and 8 deletions

View file

@ -120,6 +120,11 @@ They are expected to be used with *bindsym* or at runtime through *swaymsg*(1).
*focus* up|right|down|left
Moves focus to the next container in the specified direction.
*focus* prev|next [sibling]
Moves focus to the previous or next container in the current layout. By default,
the last active child of the newly focused container will be focused. The _sibling_
option indicates not to immediately focus a child of the container.
*focus* child
Moves focus to the last-focused child of the focused container.