diff options
Diffstat (limited to 'sway/sway.5.scd')
-rw-r--r-- | sway/sway.5.scd | 46 |
1 files changed, 33 insertions, 13 deletions
diff --git a/sway/sway.5.scd b/sway/sway.5.scd index 4a645837..8f6b35f1 100644 --- a/sway/sway.5.scd +++ b/sway/sway.5.scd @@ -133,9 +133,12 @@ They are expected to be used with *bindsym* or at runtime through *swaymsg*(1). *fullscreen* Toggles fullscreen for the focused view. -*gaps* inner|outer all|current set|plus|minus <amount> +*gaps* inner|outer|horizontal|vertical|top|right|bottom|left all|current +set|plus|minus <amount> Changes the _inner_ or _outer_ gaps for either _all_ workspaces or the - _current_ workspace. + _current_ workspace. _outer_ gaps can be altered per side with _top_, + _right_, _bottom_, and _left_ or per direction with _horizontal_ and + _vertical_. *layout* default|splith|splitv|stacking|tabbed Sets the layout mode of the focused container. @@ -207,11 +210,23 @@ They are expected to be used with *bindsym* or at runtime through *swaymsg*(1). percentage points. If the units are omitted, floating containers are resized in px and tiled containers by ppt. _amount_ will default to 10 if omitted. -*resize set* <width> [px|ppt] <height> [px|ppt] - Sets the width and height of the currently focused container to _width_ and - _height_, specified in pixels or percentage points. If the units are - omitted, floating containers are resized in px and tiled containers by ppt. - If _width_ or _height_ is 0, no resize is done on that axis. +*resize set* height <height> [px|ppt] + Sets the height of the container to _height_, specified in pixels or + percentage points. If the units are omitted, floating containers are + resized in px and tiled containers by ppt. If _height_ is 0, the container + will not be resized. + +*resize set* [width] <width> [px|ppt] + Sets the width of the container to _width_, specified in pixels or + percentage points. If the units are omitted, floating containers are + resized in px and tiled containers by ppt. If _width_ is 0, the container + will not be resized. + +*resize set* [width] <width> [px|ppt] [height] <height> [px|ppt] + Sets the width and height of the container to _width_ and _height_, + specified in pixels or percentage points. If the units are omitted, + floating containers are resized in px and tiled containers by ppt. If + _width_ or _height_ is 0, the container will not be resized on that axis. *scratchpad show* Shows a window from the scratchpad. Repeatedly using this command will @@ -404,8 +419,10 @@ The default colors are: specified direction while holding the floating modifier. Resets the command, when given no arguments. -*focus\_follows\_mouse* yes|no - If set to _yes_, moving your mouse over a window will focus that window. +*focus\_follows\_mouse* yes|no|always + If set to _yes_, moving your mouse over a window will focus that window. If + set to _always_, the window under the cursor will always be focused, even + after switching between workspaces. *focus\_wrapping* yes|no|force This option determines what to do when attempting to focus over the edge @@ -429,14 +446,16 @@ The default colors are: _focus\_wrapping force_. This is only available for convenience. Please use _focus\_wrapping_ instead when possible. -*gaps* inner|outer <amount> +*gaps* inner|outer|horizontal|vertical|top|right|bottom|left <amount> Sets default _amount_ pixels of _inner_ or _outer_ gap, where the inner affects spacing around each view and outer affects the spacing around each workspace. Outer gaps are in addition to inner gaps. To reduce or remove - outer gaps, outer gaps can be set to a negative value. + outer gaps, outer gaps can be set to a negative value. _outer_ gaps can + also be specified per side with _top_, _right_, _bottom_, and _left_ or + per direction with _horizontal_ and _vertical_. This affects new workspaces only, and is used when the workspace doesn't - have its own gaps settings (see: workspace <ws> gaps inner|outer <amount>). + have its own gaps settings (see: workspace <ws> gaps ...). *hide\_edge\_borders* none|vertical|horizontal|both|smart|smart\_no\_gaps Hides window borders adjacent to the screen edges. Default is _none_. @@ -549,7 +568,8 @@ The default colors are: *workspace* back\_and\_forth Switches to the previously focused workspace. -*workspace* <name> gaps inner|outer <amount> +*workspace* <name> gaps inner|outer|horizontal|vertical|top|right|bottom|left +<amount> Specifies that workspace _name_ should have the given gaps settings when it is created. |