Replies: 4 comments 8 replies
-
Do you have a case where this provides a considerable improvement over just binding things to keys? I personally never found myself using these much when I was using sway, and the whole accidentally getting stuck in a mode can get rather annoying. |
Beta Was this translation helpful? Give feedback.
-
i've started implementing it |
Beta Was this translation helpful? Give feedback.
-
Made a GitHub account to say that I would really appreciate this feature! It'd be nice to be able to add binds more intuitively without the risk of conflicting key combinations. I primarily edit with vi-style bindings in Doom Emacs, and coming from Hyprland, it was nice being able to implement similar modal bindings throughout the rest of the compositor. I also think this could be an improvement for people who use different keyboard layouts, sizes like 60%, or for implementing binds for other, more niche peripherals (Azeron's products come to mind, for example). Being able to implement a mode for a few context-specific bindings--rather than using more complex solutions like switching the keyboard layout, relying on external programs/scripts (and preventing focus conflicts), or hardware-level configuration that may or may not be available--would be really convenient. This has been the one feature I've sorely missed since I've recently switched to niri. |
Beta Was this translation helpful? Give feedback.
-
I'd love this as well and non-modal keybinds is a big gripe for me with PaperWM. Primarily working in nvim and wezterm which both provides modal keybinds they are in my muscle memory, and I often try to do WM keybinds by tapping the modifier and then the key which of course doesn't work and I stare at the screen for a while before realizing why it didn't work. They are also very nice for being able to bind more things without having to figure our more and more elaborate keyboard combinations. The both already mentioned launch and resize modes are something I'd definitely use. |
Beta Was this translation helpful? Give feedback.
-
basically just this.
as niri does not have it's own bar,
niri msg get_binding_mode
should exist (or similiar).example of how config would look like:
Beta Was this translation helpful? Give feedback.
All reactions