diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-12-03 11:01:44 -0500 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2017-12-03 11:01:44 -0500 |
commit | 802e7392f89a1e401a3953099ac5d477a461e469 (patch) | |
tree | f38154ed617c81c10e4054752d94806ee0c257bd /sway/sway.5.txt | |
parent | Merge pull request #1489 from acrisci/feature/basic-get-tree (diff) | |
download | sway-802e7392f89a1e401a3953099ac5d477a461e469.tar.gz sway-802e7392f89a1e401a3953099ac5d477a461e469.tar.zst sway-802e7392f89a1e401a3953099ac5d477a461e469.zip |
use "size" instead of "dimensions"
Diffstat (limited to 'sway/sway.5.txt')
-rw-r--r-- | sway/sway.5.txt | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/sway/sway.5.txt b/sway/sway.5.txt index 750254c8..2a4ef205 100644 --- a/sway/sway.5.txt +++ b/sway/sway.5.txt | |||
@@ -126,22 +126,21 @@ They are expected to be used with **bindsym** or at runtime through **swaymsg**( | |||
126 | 126 | ||
127 | **resize** <shrink|grow> <width|height> [<amount>] [px|ppt]:: | 127 | **resize** <shrink|grow> <width|height> [<amount>] [px|ppt]:: |
128 | Resizes the currently focused container or view by _amount_. _amount_ is | 128 | Resizes the currently focused container or view by _amount_. _amount_ is |
129 | optional: the default value is 10 (either px or ppt depending on the view | 129 | optional: the default value is 10 (either px or ppt depending on the view type). |
130 | type). The [px|ppt] parameter is optional. _px_ specifies that _amount_ refers | 130 | The [px|ppt] parameter is optional. _px_ specifies that _amount_ refers to pixels; |
131 | to pixels; _ppt_ specifies that _amount_ refers to percentage points of the | 131 | _ppt_ specifies that _amount_ refers to percentage points of the current |
132 | current dimension. Floating views use px dimensions by default (but can use | 132 | size. Floating views use px by default (but can use ppt if specified); tiled |
133 | ppt if specified); tiled views use ppt dimensions by default (but can use px | 133 | views use ppt by default (but can use px if specified). |
134 | if specified). | ||
135 | 134 | ||
136 | **resize set** <width> [px] <height> [px]:: | 135 | **resize set** <width> [px] <height> [px]:: |
137 | Sets the width and height of the currently focused container to _width_ pixels | 136 | Sets the width and height of the currently focused container to _width_ pixels |
138 | and _height_ pixels. The [px] parameters are optional and have no effect. This | 137 | and _height_ pixels. The [px] parameters are optional and have no effect. This |
139 | command only accepts pixel dimensions. | 138 | command only accepts a size in pixels. |
140 | 139 | ||
141 | **resize set** <width|height> <amount> [px] [<width|height> <amount> [px]]:: | 140 | **resize set** <width|height> <amount> [px] [<width|height> <amount> [px]]:: |
142 | Sets the _width_ and/or _height_ of the currently focused container to | 141 | Sets the _width_ and/or _height_ of the currently focused container to |
143 | _amount_. The [px] parameters are optional and have no effect. This command | 142 | _amount_. The [px] parameters are optional and have no effect. This command |
144 | only accepts pixel dimensions. | 143 | only accepts a size in pixels. |
145 | 144 | ||
146 | **scratchpad show**:: | 145 | **scratchpad show**:: |
147 | Shows a window from the scratchpad. Repeatedly using this command will cycle | 146 | Shows a window from the scratchpad. Repeatedly using this command will cycle |
@@ -254,14 +253,14 @@ The default colors are: | |||
254 | *restart* is executed. | 253 | *restart* is executed. |
255 | 254 | ||
256 | **floating_maximum_size** <width> x <height>:: | 255 | **floating_maximum_size** <width> x <height>:: |
257 | Specifies the maximum dimensions of floating windows. | 256 | Specifies the maximum size of floating windows. |
258 | Uses the container dimensions as default. | 257 | Uses the container size as default. |
259 | -1 x -1 will remove any restriction on dimensions. | 258 | -1 x -1 will remove any restriction on size. |
260 | 0 x 0 has the same behavior as not setting any value. | 259 | 0 x 0 has the same behavior as not setting any value. |
261 | If in conflict, this option has precedence over floating_minimum_size. | 260 | If in conflict, this option has precedence over floating_minimum_size. |
262 | 261 | ||
263 | **floating_minimum_size** <width> x <height>:: | 262 | **floating_minimum_size** <width> x <height>:: |
264 | Specifies the minimum dimensions of floating windows. | 263 | Specifies the minimum size of floating windows. |
265 | Default parameters are 75 x 50. | 264 | Default parameters are 75 x 50. |
266 | -1 and 0 are invalid parameters, default will be used instead. | 265 | -1 and 0 are invalid parameters, default will be used instead. |
267 | 266 | ||