mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-22 02:01:55 +07:00
Document the new cursor hide settings
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user