feat: add alternating autotiling
This commit is contained in:
parent
ce14169d6b
commit
5c2f631fdb
17 changed files with 244 additions and 59 deletions
|
|
@ -1209,6 +1209,10 @@
|
|||
"type": "boolean",
|
||||
"description": "Configures whether middle-click pasting is enabled.\n\nChanging this has no effect on running applications.\n\nThe default is `true`.\n"
|
||||
},
|
||||
"autotile": {
|
||||
"type": "boolean",
|
||||
"description": "Configures whether autotiling is enabled by default.\n\nWhen enabled, newly mapped tiled windows alternate their split\norientation automatically. This can also be toggled at runtime via the\n`enable-autotile`, `disable-autotile`, and `toggle-autotile` actions.\n\nThe default is `false`.\n"
|
||||
},
|
||||
"modes": {
|
||||
"description": "Configures the input modes.\n\nModes can be used to define shortcuts that are only active when the mode is\nactive.\n\n- Example\n\n ```toml\n [modes.\"navigation\".shortcuts]\n w = \"focus-up\"\n a = \"focus-left\"\n s = \"focus-down\"\n d = \"focus-right\"\n r = \"focus-above\"\n f = \"focus-below\"\n q = \"focus-prev\"\n e = \"focus-next\"\n ```\n\nModes can be activated with the `push-mode` and `latch-mode` actions.\n",
|
||||
"type": "object",
|
||||
|
|
@ -2068,6 +2072,9 @@
|
|||
"make-group-tab",
|
||||
"change-group-opposite",
|
||||
"toggle-tab",
|
||||
"enable-autotile",
|
||||
"disable-autotile",
|
||||
"toggle-autotile",
|
||||
"toggle-fullscreen",
|
||||
"enter-fullscreen",
|
||||
"exit-fullscreen",
|
||||
|
|
|
|||
|
|
@ -2489,6 +2489,18 @@ The table has the following fields:
|
|||
|
||||
The value of this field should be a boolean.
|
||||
|
||||
- `autotile` (optional):
|
||||
|
||||
Configures whether autotiling is enabled by default.
|
||||
|
||||
When enabled, newly mapped tiled windows alternate their split
|
||||
orientation automatically. This can also be toggled at runtime via the
|
||||
`enable-autotile`, `disable-autotile`, and `toggle-autotile` actions.
|
||||
|
||||
The default is `false`.
|
||||
|
||||
The value of this field should be a boolean.
|
||||
|
||||
- `modes` (optional):
|
||||
|
||||
Configures the input modes.
|
||||
|
|
@ -4613,6 +4625,18 @@ The string should have one of the following values:
|
|||
|
||||
Toggles the current group between tabbed and split mode.
|
||||
|
||||
- `enable-autotile`:
|
||||
|
||||
Enables alternating split orientation for newly tiled windows.
|
||||
|
||||
- `disable-autotile`:
|
||||
|
||||
Disables alternating split orientation for newly tiled windows.
|
||||
|
||||
- `toggle-autotile`:
|
||||
|
||||
Toggles alternating split orientation for newly tiled windows.
|
||||
|
||||
- `toggle-fullscreen`:
|
||||
|
||||
Toggle the currently focused window between fullscreen and windowed.
|
||||
|
|
@ -5806,4 +5830,3 @@ The table has the following fields:
|
|||
The scaling mode of X windows.
|
||||
|
||||
The value of this field should be a [XScalingMode](#types-XScalingMode).
|
||||
|
||||
|
|
|
|||
|
|
@ -1064,6 +1064,12 @@ SimpleActionName:
|
|||
description: Toggles the current group's direction.
|
||||
- value: toggle-tab
|
||||
description: Toggles the current group between tabbed and split mode.
|
||||
- value: enable-autotile
|
||||
description: Enables alternating split orientation for newly tiled windows.
|
||||
- value: disable-autotile
|
||||
description: Disables alternating split orientation for newly tiled windows.
|
||||
- value: toggle-autotile
|
||||
description: Toggles alternating split orientation for newly tiled windows.
|
||||
- value: toggle-fullscreen
|
||||
description: Toggle the currently focused window between fullscreen and windowed.
|
||||
- value: enter-fullscreen
|
||||
|
|
@ -3129,10 +3135,21 @@ Config:
|
|||
required: false
|
||||
description: |
|
||||
Configures whether middle-click pasting is enabled.
|
||||
|
||||
|
||||
Changing this has no effect on running applications.
|
||||
|
||||
The default is `true`.
|
||||
autotile:
|
||||
kind: boolean
|
||||
required: false
|
||||
description: |
|
||||
Configures whether autotiling is enabled by default.
|
||||
|
||||
When enabled, newly mapped tiled windows alternate their split
|
||||
orientation automatically. This can also be toggled at runtime via the
|
||||
`enable-autotile`, `disable-autotile`, and `toggle-autotile` actions.
|
||||
|
||||
The default is `false`.
|
||||
modes:
|
||||
kind: map
|
||||
values:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue