tree: allow floats to be pinned
This commit is contained in:
parent
3e6640f0ca
commit
65a66c2e26
28 changed files with 528 additions and 36 deletions
|
|
@ -1265,6 +1265,19 @@ The table has the following fields:
|
|||
|
||||
The value of this field should be a [ColorManagement](#types-ColorManagement).
|
||||
|
||||
- `float` (optional):
|
||||
|
||||
Configures the settings of floating windows.
|
||||
|
||||
- Example:
|
||||
|
||||
```toml
|
||||
[float]
|
||||
show-pin-icon = true
|
||||
```
|
||||
|
||||
The value of this field should be a [Float](#types-Float).
|
||||
|
||||
|
||||
<a name="types-Connector"></a>
|
||||
### `Connector`
|
||||
|
|
@ -1629,6 +1642,31 @@ The table has the following fields:
|
|||
The value of this field should be a boolean.
|
||||
|
||||
|
||||
<a name="types-Float"></a>
|
||||
### `Float`
|
||||
|
||||
Describes settings of floating windows.
|
||||
|
||||
- Example:
|
||||
|
||||
```toml
|
||||
[float]
|
||||
show-pin-icon = true
|
||||
```
|
||||
|
||||
Values of this type should be tables.
|
||||
|
||||
The table has the following fields:
|
||||
|
||||
- `show-pin-icon` (optional):
|
||||
|
||||
Sets whether floating windows always show a pin icon.
|
||||
|
||||
The default is `false`.
|
||||
|
||||
The value of this field should be a boolean.
|
||||
|
||||
|
||||
<a name="types-Format"></a>
|
||||
### `Format`
|
||||
|
||||
|
|
@ -2905,6 +2943,21 @@ The string should have one of the following values:
|
|||
|
||||
Toggles floating windows showing above fullscreen windows.
|
||||
|
||||
- `pin-float`:
|
||||
|
||||
Pins the currently focused floating window.
|
||||
|
||||
If a floating window is pinned, it will stay visible even when switching to a
|
||||
different workspace.
|
||||
|
||||
- `unpin-float`:
|
||||
|
||||
Unpins the currently focused floating window.
|
||||
|
||||
- `toggle-float-pinned`:
|
||||
|
||||
Toggles whether the currently focused floating window is pinned.
|
||||
|
||||
|
||||
|
||||
<a name="types-Status"></a>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue