mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-23 02:05:33 +07:00
[cfg-breaking] Rename hide-on-key-press to hide-when-typing
I originally preferred on-key-press, but when-typing feels more natural and matches sway. This setting had not been in a stable release yet so this is not stable release cfg breaking.
This commit is contained in:
@@ -21,7 +21,7 @@ cursor {
|
||||
xcursor-theme "breeze_cursors"
|
||||
xcursor-size 48
|
||||
|
||||
hide-on-key-press
|
||||
hide-when-typing
|
||||
hide-after-inactive-ms 1000
|
||||
}
|
||||
|
||||
@@ -109,7 +109,7 @@ cursor {
|
||||
}
|
||||
```
|
||||
|
||||
#### `hide-on-key-press`
|
||||
#### `hide-when-typing`
|
||||
|
||||
<sup>Since: 0.1.10</sup>
|
||||
|
||||
@@ -117,7 +117,7 @@ If set, hides the cursor when pressing a key on the keyboard.
|
||||
|
||||
```kdl
|
||||
cursor {
|
||||
hide-on-key-press
|
||||
hide-when-typing
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user