aboutsummaryrefslogtreecommitdiffstats
path: root/sway/sway.5.scd
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-08-10 08:50:38 +1000
committerLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-08-10 08:50:38 +1000
commitaf693cba26773ea639644529453900a7ed48a5f6 (patch)
tree0d697c0f097e8a24949fdf7a52bf5a6c3ca5c6ba /sway/sway.5.scd
parentImplement resize set <width> <height> for tiled containers (diff)
downloadsway-af693cba26773ea639644529453900a7ed48a5f6.tar.gz
sway-af693cba26773ea639644529453900a7ed48a5f6.tar.zst
sway-af693cba26773ea639644529453900a7ed48a5f6.zip
Update resize documentation
Diffstat (limited to 'sway/sway.5.scd')
-rw-r--r--sway/sway.5.scd18
1 files changed, 9 insertions, 9 deletions
diff --git a/sway/sway.5.scd b/sway/sway.5.scd
index 31ab281b..a09d06c2 100644
--- a/sway/sway.5.scd
+++ b/sway/sway.5.scd
@@ -170,16 +170,16 @@ They are expected to be used with *bindsym* or at runtime through *swaymsg*(1).
170*reload* 170*reload*
171 Reloads the sway config file and applies any changes. 171 Reloads the sway config file and applies any changes.
172 172
173*resize* shrink|grow width|height [<amount>] [px|ppt] 173*resize* shrink|grow width|height [<amount> [px|ppt]]
174 Resizes the currently focused container by _amount_, specified in pixels or 174 Resizes the currently focused container by _amount_, specified in pixels or
175 percentage points. If omitted, floating containers are resized in px and 175 percentage points. If the units are omitted, floating containers are resized
176 tiled containers by ppt. If omitted, the default _amount_ is 10. 176 in px and tiled containers by ppt. _amount_ will default to 10 if omitted.
177 177
178*resize set* <width> [px] <height> [px] 178*resize set* <width> [px|ppt] <height> [px|ppt]
179 Sets the width and height of the currently focused container to _width_ 179 Sets the width and height of the currently focused container to _width_ and
180 pixels and _height_ pixels. The [px] parameters are optional and have no 180 _height_, specified in pixels or percentage points. If the units are
181 effect. This command only accepts a size in pixels. Width and height may be 181 omitted, floating containers are resized in px and tiled containers by ppt.
182 specified in either order. 182 If _width_ or _height_ is 0, no resize is done on that axis.
183 183
184*scratchpad show* 184*scratchpad show*
185 Shows a window from the scratchpad. Repeatedly using this command will 185 Shows a window from the scratchpad. Repeatedly using this command will