diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-11-08 14:39:20 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-08 14:39:20 -0500 |
commit | 5880478fb1d9a0f61696957f36a33f0ef7b85e73 (patch) | |
tree | 375c263c1d5fcd87a98c8f4a4932307b9f6f8468 /sway/sway.5.scd | |
parent | Merge pull request #3089 from sghctoma/fix-clang-build (diff) | |
parent | resize set: implement width and height keywords (diff) | |
download | sway-5880478fb1d9a0f61696957f36a33f0ef7b85e73.tar.gz sway-5880478fb1d9a0f61696957f36a33f0ef7b85e73.tar.zst sway-5880478fb1d9a0f61696957f36a33f0ef7b85e73.zip |
Merge pull request #3090 from RedSoxFan/resize-set-improved
resize set: implement width and height keywords
Diffstat (limited to 'sway/sway.5.scd')
-rw-r--r-- | sway/sway.5.scd | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/sway/sway.5.scd b/sway/sway.5.scd index 3bf6233d..8df59fc0 100644 --- a/sway/sway.5.scd +++ b/sway/sway.5.scd | |||
@@ -210,11 +210,23 @@ set|plus|minus <amount> | |||
210 | percentage points. If the units are omitted, floating containers are resized | 210 | percentage points. If the units are omitted, floating containers are resized |
211 | in px and tiled containers by ppt. _amount_ will default to 10 if omitted. | 211 | in px and tiled containers by ppt. _amount_ will default to 10 if omitted. |
212 | 212 | ||
213 | *resize set* <width> [px|ppt] <height> [px|ppt] | 213 | *resize set* height <height> [px|ppt] |
214 | Sets the width and height of the currently focused container to _width_ and | 214 | Sets the height of the container to _height_, specified in pixels or |
215 | _height_, specified in pixels or percentage points. If the units are | 215 | percentage points. If the units are omitted, floating containers are |
216 | omitted, floating containers are resized in px and tiled containers by ppt. | 216 | resized in px and tiled containers by ppt. If _height_ is 0, the container |
217 | If _width_ or _height_ is 0, no resize is done on that axis. | 217 | will not be resized. |
218 | |||
219 | *resize set* [width] <width> [px|ppt] | ||
220 | Sets the width of the container to _width_, specified in pixels or | ||
221 | percentage points. If the units are omitted, floating containers are | ||
222 | resized in px and tiled containers by ppt. If _width_ is 0, the container | ||
223 | will not be resized. | ||
224 | |||
225 | *resize set* [width] <width> [px|ppt] [height] <height> [px|ppt] | ||
226 | Sets the width and height of the container to _width_ and _height_, | ||
227 | specified in pixels or percentage points. If the units are omitted, | ||
228 | floating containers are resized in px and tiled containers by ppt. If | ||
229 | _width_ or _height_ is 0, the container will not be resized on that axis. | ||
218 | 230 | ||
219 | *scratchpad show* | 231 | *scratchpad show* |
220 | Shows a window from the scratchpad. Repeatedly using this command will | 232 | Shows a window from the scratchpad. Repeatedly using this command will |