command: implement split none

This commit is contained in:
Ronan Pigott 2020-07-25 12:53:52 -07:00 committed by Simon Ser
parent 4baf845a3a
commit de3c290427
2 changed files with 25 additions and 2 deletions

View file

@ -319,8 +319,10 @@ set|plus|minus|toggle <amount>
established by the *seat* subcommand of the same name. See
*sway-input*(5) for more ways to affect inhibitors.
*split* vertical|v|horizontal|h|toggle|t
Splits the current container, vertically or horizontally. When _toggle_ is
*split* vertical|v|horizontal|h|none|n|toggle|t
Splits the current container, vertically or horizontally. When _none_ is
specified, the effect of a previous split is undone if the current
container is the only child of a split parent. When _toggle_ is
specified, the current container is split opposite to the parent
container's layout.