diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-09-29 12:59:02 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-09-29 12:59:02 +1000 |
commit | 7661c71b3323f4bc6a8253b16cb12be8ef1a1d12 (patch) | |
tree | b0fdb81add25ddd4429a21325c82be8d8631fae4 /sway/sway.5.scd | |
parent | Don't allow negative gaps (diff) | |
download | sway-7661c71b3323f4bc6a8253b16cb12be8ef1a1d12.tar.gz sway-7661c71b3323f4bc6a8253b16cb12be8ef1a1d12.tar.zst sway-7661c71b3323f4bc6a8253b16cb12be8ef1a1d12.zip |
Update gaps documentation
Diffstat (limited to 'sway/sway.5.scd')
-rw-r--r-- | sway/sway.5.scd | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/sway/sway.5.scd b/sway/sway.5.scd index 1526eee3..aa5b38ab 100644 --- a/sway/sway.5.scd +++ b/sway/sway.5.scd | |||
@@ -419,19 +419,17 @@ The default colors are: | |||
419 | inner gap is nonzero. When _off_, gaps will only be added between views. | 419 | inner gap is nonzero. When _off_, gaps will only be added between views. |
420 | _toggle_ cannot be used in the configuration file. | 420 | _toggle_ cannot be used in the configuration file. |
421 | 421 | ||
422 | *gaps* <amount> | ||
423 | Sets _amount_ pixels of gap between windows and around each workspace. | ||
424 | |||
425 | *gaps* inner|outer <amount> | 422 | *gaps* inner|outer <amount> |
426 | Sets default _amount_ pixels of _inner_ or _outer_ gap, where the former | 423 | Sets default _amount_ pixels of _inner_ or _outer_ gap, where the inner |
427 | affects spacing between views and the latter affects the space around each | 424 | affects spacing around each view and outer affects the spacing around each |
428 | workspace. | 425 | workspace. Outer gaps are in addition to inner gaps. |
426 | |||
427 | This affects new workspaces only, and is used when the workspace doesn't | ||
428 | have its own gaps settings (see: workspace <ws> gaps inner|outer <amount>). | ||
429 | 429 | ||
430 | *gaps* inner|outer all|workspace|current set|plus|minus <amount> | 430 | *gaps* inner|outer all|current set|plus|minus <amount> |
431 | Changes the gaps for the _inner_ or _outer_ gap. _all_ changes the gaps for | 431 | Changes the _inner_ or _outer_ gaps for either _all_ workspaces or the |
432 | all views or workspace, _workspace_ changes gaps for all views in current | 432 | _current_ workspace. |
433 | workspace (or current workspace), and _current_ changes gaps for the current | ||
434 | view or workspace. | ||
435 | 433 | ||
436 | *hide\_edge\_borders* none|vertical|horizontal|both|smart | 434 | *hide\_edge\_borders* none|vertical|horizontal|both|smart |
437 | Hides window borders adjacent to the screen edges. Default is _none_. | 435 | Hides window borders adjacent to the screen edges. Default is _none_. |
@@ -580,6 +578,10 @@ match any output by using the output name "\*". | |||
580 | *workspace* back_and_forth | 578 | *workspace* back_and_forth |
581 | Switches to the previously focused workspace. | 579 | Switches to the previously focused workspace. |
582 | 580 | ||
581 | *workspace* <name> gaps inner|outer <amount> | ||
582 | Specifies that workspace _name_ should have the given gaps settings when it | ||
583 | is created. | ||
584 | |||
583 | *workspace* <name> output <output> | 585 | *workspace* <name> output <output> |
584 | Specifies that workspace _name_ should be shown on the specified _output_. | 586 | Specifies that workspace _name_ should be shown on the specified _output_. |
585 | 587 | ||