config: make ui dragging configurable
This commit is contained in:
parent
1dd20fb87b
commit
d8ee1ac19c
19 changed files with 255 additions and 12 deletions
|
|
@ -1154,6 +1154,18 @@ The table has the following fields:
|
|||
|
||||
The value of this field should be a [Libei](#types-Libei).
|
||||
|
||||
- `ui-drag` (optional):
|
||||
|
||||
Configures the ui-drag settings.
|
||||
|
||||
- Example:
|
||||
|
||||
```toml
|
||||
ui-drag = { enabled = false, threshold = 20 }
|
||||
```
|
||||
|
||||
The value of this field should be a [UiDrag](#types-UiDrag).
|
||||
|
||||
|
||||
<a name="types-Connector"></a>
|
||||
### `Connector`
|
||||
|
|
@ -2981,6 +2993,40 @@ The string should have one of the following values:
|
|||
|
||||
|
||||
|
||||
<a name="types-UiDrag"></a>
|
||||
### `UiDrag`
|
||||
|
||||
Describes ui-drag settings.
|
||||
|
||||
- Example:
|
||||
|
||||
```toml
|
||||
ui-drag = { enabled = false, threshold = 20 }
|
||||
```
|
||||
|
||||
Values of this type should be tables.
|
||||
|
||||
The table has the following fields:
|
||||
|
||||
- `enabled` (optional):
|
||||
|
||||
Enables or disables dragging of tiles and workspaces.
|
||||
|
||||
The default is `true`.
|
||||
|
||||
The value of this field should be a boolean.
|
||||
|
||||
- `threshold` (optional):
|
||||
|
||||
Sets the distance at which ui dragging starts.
|
||||
|
||||
The default is `10`.
|
||||
|
||||
The value of this field should be a number.
|
||||
|
||||
The numbers should be integers.
|
||||
|
||||
|
||||
<a name="types-Vrr"></a>
|
||||
### `Vrr`
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue