niri icon indicating copy to clipboard operation
niri copied to clipboard

Modifier-only keybinds exist

Open miku4k opened this issue 6 months ago • 8 comments

You can set a modifier-only shortcut by using the xkb name for the modifier as the second key (e.g. Super+Super_L). Hitting just the modifier, or any keybind that includes the modifier, triggers the mod-only bind. I've only tested with Super+Super_L and the spawn action, but I believe other combinations behave similarly if not the same.

Checking that the non-mod key of a keybind isnt secretly a mod should be enough to fix this.

System Information

  • niri version: niri 0.1.7 (unknown commit) (most recent version currently available in NixOS unstable)
  • Distro: NixOS (unstable)
  • GPU: AMD integrated
  • CPU: AMD Ryzen 5 5500u

miku4k avatar Aug 17 '24 03:08 miku4k