Introspecting key bindings (mapping them to configuration) #3023
Replies: 2 comments 6 replies
-
|
..I do feel this a little out of scope for niri, however, a good alternative for you to look at would be wlr-which-key |
Beta Was this translation helpful? Give feedback.
-
|
Might be relevant: #2980 As a partial short-term solution, you can separate your keybinds into a dedicated .kdl file, and then set up a keybind to pipe this into fuzzel, in dmenu mode, to make it searchable. Something like: Mod+Shift+Slash { spawn-sh "cat /path/to/keybinds.kdl | fuzzel -d"; }This will also include comments/blank lines etc, though using the search feature mostly gets around this. The junk lines can also be parsed out (here's an example script). With parsing the keybinds don't even need to be in a separate kdl file. It would be nice if niri included a built-in print out of the keybinds it ends up with though (e.g. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I've seen Mod+Shift+? which renders an "Important Hotkeys" modal.
I want something like this for all possible bindings.
Another related thing I would want is the ability to have
niritell me which action is related to a binding when I execute it. So, either display something like throughnotify-send(pop-up/notification to screen) or something within a terminal kind of likexev.In the case of 2. a nice extra would be to tell me which configuration line defines this (or if it's built-in/default).
Beta Was this translation helpful? Give feedback.
All reactions