1
0
Fork 0
forked from wry/wry

tree: add window-management mode

This commit is contained in:
Julian Orth 2024-05-26 02:24:52 +02:00
parent 1a73bbd075
commit 70a8f47288
20 changed files with 644 additions and 9 deletions

View file

@ -1095,6 +1095,21 @@ The table has the following fields:
The value of this field should be a boolean.
- `window-management-key` (optional):
Configures a key that will enable window management mode while pressed.
In window management mode, floating windows can be moved by pressing the left
mouse button and all windows can be resize by pressing the right mouse button.
- Example:
```toml
window-management-key = "Alt_L"
```
The value of this field should be a string.
<a name="types-Connector"></a>
### `Connector`
@ -2434,6 +2449,17 @@ The string should have one of the following values:
As a special case, if this is the action of a shortcut, the shortcut will be
unbound. This can be used in modes to unbind a key.
- `enable-window-management`:
Enables window management mode.
In window management mode, floating windows can be moved by pressing the left
mouse button and all windows can be resize by pressing the right mouse button.
- `disable-window-management`:
Disables window management mode.
<a name="types-Status"></a>