mirror of
https://github.com/swaywm/sway.git
synced 2026-04-21 06:46:22 -04:00
Add smart_gaps inverse_outer command
Add a subcommand for `smart_gaps` that enables outer gaps only on workspaces with exactly one visible child. Also add documentation for `smart_gaps toggle`.
This commit is contained in:
parent
aaf68cf423
commit
9969de9e00
5 changed files with 44 additions and 20 deletions
|
|
@ -266,7 +266,7 @@ static void config_defaults(struct sway_config *config) {
|
|||
config->tiling_drag = true;
|
||||
config->tiling_drag_threshold = 9;
|
||||
|
||||
config->smart_gaps = false;
|
||||
config->smart_gaps = SMART_GAPS_OFF;
|
||||
config->gaps_inner = 0;
|
||||
config->gaps_outer.top = 0;
|
||||
config->gaps_outer.right = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue