From 03c603918d817762ee95d21ea15a854adf47886e Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Sun, 6 Oct 2024 20:33:38 +0300 Subject: Document the new cursor hide settings --- wiki/Configuration:-Miscellaneous.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) 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` + +Since: 0.1.10 + +If set, hides the cursor when pressing a key on the keyboard. + +```kdl +cursor { + hide-on-key-press +} +``` + +#### `hide-after-inactive-ms` + +Since: 0.1.10 + +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. -- cgit