You are not logged in.

#1 2025-06-23 05:35:38

Akamiblade129_7
Member
Registered: 2024-12-06
Posts: 31

Bindings weird behavior Hyprland

I have 2 specific bindings here

bind = Super_L, SPACE, exec, rofi -show run
bind = Super_R, SPACE, exec, mpc toggle

Both bindings were responding to any Super button, but I fixed that adding 's' flag

binds = Super_L, SPACE, exec, rofi -show run
binds = Super_R, SPACE, exec, mpc toggle

But now these bindings sometimes just don't work until I click onto wallpaper, which makes it very annoying when I play games in fullscreen. I've tried 'p' and 'l' flags but that doesn't seem to help. How to fix that?

Info that might be useful:

Last edited by Akamiblade129_7 (2025-07-06 04:13:26)

Offline

#2 2025-07-06 00:43:13

Akamiblade129_7
Member
Registered: 2024-12-06
Posts: 31

Re: Bindings weird behavior Hyprland

I've fixed it by doing empty binding:

bind = SUPER, SPACE, exec,

Now it works pretty fine
No it doesn't.. Problem still not fixed

Last edited by Akamiblade129_7 (2025-07-06 04:14:26)

Offline

#3 2025-07-06 07:51:01

seth
Member
Registered: 2012-09-03
Posts: 65,450

Re: Bindings weird behavior Hyprland

Super_L and Super_R are distinct keys but they'll trigger the exact same modifier (mod4, 0x40) so if you're using them as a modifier to "space" the will cause the exact same event (same key on the same |0x40 modifier)
So https://github.com/hyprwm/Hyprland/pull/5966 the "binds" version should™ be the correct pick.

bindings sometimes just don't work until I click onto wallpaper

Does *only*

bind = SUPER, SPACE, exec, rofi -show run

work in the scenarios where the "binds" approach didn't?

Offline

Board footer

Powered by FluxBB