From abac28a65c6c742114ef292221dd26e2a3a2f04b Mon Sep 17 00:00:00 2001 From: Kent Daleng Date: Tue, 3 Jun 2025 19:31:18 +0200 Subject: add option to hide unbound actions in hotkey overlay (#1618) * add option to hide unbound actions in hotkey overlay * fix config test, add some docs * Add kdl language hint Co-authored-by: Ivan Molodetskikh * Improve docs Co-authored-by: Ivan Molodetskikh * hide_unbound -> hide_not_bound * forgot to rename in wiki * filter actions before calling format * use any instead of contains * retain instead of filter --------- Co-authored-by: Ivan Molodetskikh --- wiki/Configuration:-Miscellaneous.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'wiki') diff --git a/wiki/Configuration:-Miscellaneous.md b/wiki/Configuration:-Miscellaneous.md index 1da2cb67..0fb26c41 100644 --- a/wiki/Configuration:-Miscellaneous.md +++ b/wiki/Configuration:-Miscellaneous.md @@ -225,6 +225,8 @@ clipboard { Settings for the "Important Hotkeys" overlay. +#### `skip-at-startup` + Set the `skip-at-startup` flag if you don't want to see the hotkey help at niri startup. ```kdl @@ -233,4 +235,15 @@ hotkey-overlay { } ``` +#### `hide-not-bound` + +By default, niri will show the most important actions even if they aren't bound to any key, to prevent confusion. +Set the `hide-not-bound` flag if you want to hide all actions not bound to any key. + +```kdl +hotkey-overlay { + hide-not-bound +} +``` + You can customize which binds the hotkey overlay shows using the [`hotkey-overlay-title` property](./Configuration:-Key-Bindings.md#custom-hotkey-overlay-titles). -- cgit