mirror of
https://github.com/swaywm/sway.git
synced 2024-12-29 16:36:26 +01:00
Update gaps documentation
This commit is contained in:
parent
bb708d0f82
commit
7661c71b33
1 changed files with 13 additions and 11 deletions
|
@ -419,19 +419,17 @@ The default colors are:
|
||||||
inner gap is nonzero. When _off_, gaps will only be added between views.
|
inner gap is nonzero. When _off_, gaps will only be added between views.
|
||||||
_toggle_ cannot be used in the configuration file.
|
_toggle_ cannot be used in the configuration file.
|
||||||
|
|
||||||
*gaps* <amount>
|
|
||||||
Sets _amount_ pixels of gap between windows and around each workspace.
|
|
||||||
|
|
||||||
*gaps* inner|outer <amount>
|
*gaps* inner|outer <amount>
|
||||||
Sets default _amount_ pixels of _inner_ or _outer_ gap, where the former
|
Sets default _amount_ pixels of _inner_ or _outer_ gap, where the inner
|
||||||
affects spacing between views and the latter affects the space around each
|
affects spacing around each view and outer affects the spacing around each
|
||||||
workspace.
|
workspace. Outer gaps are in addition to inner gaps.
|
||||||
|
|
||||||
*gaps* inner|outer all|workspace|current set|plus|minus <amount>
|
This affects new workspaces only, and is used when the workspace doesn't
|
||||||
Changes the gaps for the _inner_ or _outer_ gap. _all_ changes the gaps for
|
have its own gaps settings (see: workspace <ws> gaps inner|outer <amount>).
|
||||||
all views or workspace, _workspace_ changes gaps for all views in current
|
|
||||||
workspace (or current workspace), and _current_ changes gaps for the current
|
*gaps* inner|outer all|current set|plus|minus <amount>
|
||||||
view or workspace.
|
Changes the _inner_ or _outer_ gaps for either _all_ workspaces or the
|
||||||
|
_current_ workspace.
|
||||||
|
|
||||||
*hide\_edge\_borders* none|vertical|horizontal|both|smart
|
*hide\_edge\_borders* none|vertical|horizontal|both|smart
|
||||||
Hides window borders adjacent to the screen edges. Default is _none_.
|
Hides window borders adjacent to the screen edges. Default is _none_.
|
||||||
|
@ -580,6 +578,10 @@ match any output by using the output name "\*".
|
||||||
*workspace* back_and_forth
|
*workspace* back_and_forth
|
||||||
Switches to the previously focused workspace.
|
Switches to the previously focused workspace.
|
||||||
|
|
||||||
|
*workspace* <name> gaps inner|outer <amount>
|
||||||
|
Specifies that workspace _name_ should have the given gaps settings when it
|
||||||
|
is created.
|
||||||
|
|
||||||
*workspace* <name> output <output>
|
*workspace* <name> output <output>
|
||||||
Specifies that workspace _name_ should be shown on the specified _output_.
|
Specifies that workspace _name_ should be shown on the specified _output_.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue