aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2024-10-06 20:33:38 +0300
committerIvan Molodetskikh <yalterz@gmail.com>2024-10-06 22:09:19 -0700
commit03c603918d817762ee95d21ea15a854adf47886e (patch)
tree6e4abd6343544f12ff9bda759553147f819203a4
parent6fb60dacd2f6743b13ee955234f025015dbe5f87 (diff)
downloadniri-03c603918d817762ee95d21ea15a854adf47886e.tar.gz
niri-03c603918d817762ee95d21ea15a854adf47886e.tar.bz2
niri-03c603918d817762ee95d21ea15a854adf47886e.zip
Document the new cursor hide settings
-rw-r--r--wiki/Configuration:-Miscellaneous.md28
1 files changed, 28 insertions, 0 deletions
diff --git a/wiki/Configuration:-Miscellaneous.md b/wiki/Configuration:-Miscellaneous.md
index 7d297d80..243f4677 100644
--- a/wiki/Configuration:-Miscellaneous.md
+++ b/wiki/Configuration:-Miscellaneous.md
@@ -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.