Document the new cursor hide settings

This commit is contained in:
Ivan Molodetskikh
2024-10-06 20:33:38 +03:00
parent 6fb60dacd2
commit 03c603918d
+28
View File
@@ -20,6 +20,9 @@ environment {
cursor {
xcursor-theme "breeze_cursors"
xcursor-size 48
hide-on-key-press
hide-after-inactive-ms 1000
}
hotkey-overlay {
@@ -106,6 +109,31 @@ cursor {
}
```
#### `hide-on-key-press`
<sup>Since: 0.1.10</sup>
If set, hides the cursor when pressing a key on the keyboard.
```kdl
cursor {
hide-on-key-press
}
```
#### `hide-after-inactive-ms`
<sup>Since: 0.1.10</sup>
If set, the cursor will automatically hide once this number of milliseconds passes since the last cursor movement.
```kdl
cursor {
// Hide the cursor after one second of inactivity.
hide-after-inactive-ms 1000
}
```
### `hotkey-overlay`
Settings for the "Important Hotkeys" overlay.