Implement 'resize set <width> ppt <height> ppt' command for tiling windows (#3036)

This commit is contained in:
livanh
2018-01-08 23:25:08 +01:00
committed by Michael Stapelberg
parent 1a04608796
commit 7b59da8a4f
4 changed files with 218 additions and 9 deletions

View File

@ -2320,8 +2320,11 @@ space from all the other containers. The optional pixel argument specifies by
how many pixels a *floating container* should be grown or shrunk (the default
is 10 pixels). The ppt argument means percentage points and specifies by how
many percentage points a *tiling container* should be grown or shrunk (the
default is 10 percentage points). Note that +resize set+ will only work for
floating containers.
default is 10 percentage points).
Notes about +resize set+: a value of 0 for <width> or <height> means "do
not resize in this direction", and resizing a tiling container by +px+ is not
implemented.
It is recommended to define bindings for resizing in a dedicated binding mode.
See <<binding_modes>> and the example in the i3