implement resize command for absolute dimensions

This commit is contained in:
Zandr Martin 2016-06-11 17:02:16 -05:00
parent 6388e1e288
commit 889618d3ee
No known key found for this signature in database
GPG key ID: AA2BB8EF77F7BBDC
4 changed files with 40 additions and 16 deletions

View file

@ -98,6 +98,10 @@ They are expected to be used with **bindsym** or at runtime through **swaymsg**(
Resizes the currently focused container or view by _amount_. _amount_ can be
specified as "n px" or "n ppt" or "n px or n ppt".
**resize** <width|height> <amount>::
Sets the _width_ or _height_ of the currently focused container to _amount_.
_amount_ can be specified as "n px" or "n ppt" or "n px or n ppt".
**split** <vertical|v|horizontal|h|toggle|t>::
Splits the current container, vertically or horizontally. If toggled then the
current container is split opposite to the parent container.