Update resize documentation

This commit is contained in:
Ryan Dwyer 2018-08-10 08:50:38 +10:00
parent 6c730a2cb2
commit af693cba26

View File

@ -170,16 +170,16 @@ They are expected to be used with *bindsym* or at runtime through *swaymsg*(1).
*reload* *reload*
Reloads the sway config file and applies any changes. Reloads the sway config file and applies any changes.
*resize* shrink|grow width|height [<amount>] [px|ppt] *resize* shrink|grow width|height [<amount> [px|ppt]]
Resizes the currently focused container by _amount_, specified in pixels or Resizes the currently focused container by _amount_, specified in pixels or
percentage points. If omitted, floating containers are resized in px and percentage points. If the units are omitted, floating containers are resized
tiled containers by ppt. If omitted, the default _amount_ is 10. in px and tiled containers by ppt. _amount_ will default to 10 if omitted.
*resize set* <width> [px] <height> [px] *resize set* <width> [px|ppt] <height> [px|ppt]
Sets the width and height of the currently focused container to _width_ Sets the width and height of the currently focused container to _width_ and
pixels and _height_ pixels. The [px] parameters are optional and have no _height_, specified in pixels or percentage points. If the units are
effect. This command only accepts a size in pixels. Width and height may be omitted, floating containers are resized in px and tiled containers by ppt.
specified in either order. If _width_ or _height_ is 0, no resize is done on that axis.
*scratchpad show* *scratchpad show*
Shows a window from the scratchpad. Repeatedly using this command will Shows a window from the scratchpad. Repeatedly using this command will