Modifyer no longer being held if a bind bound to multiple commands is pressed #9191
Unanswered
IceAsteroid
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For example, consider the following use case:
Condition 1
When a keybinding is bound to one exectuion, in normal map(after reset of submap), and in
keyCursorMode
, I can just instantly switch to normal mode andkeyCursorMode
by holding the$mainMod
key while keeping to hit theescape
key.However, when the keybinding in addition, is bound to another execution
bind = $mainMod, escape, exec, hyprctl --batch keyword input:repeat_rate $keycursorRepeatRate ; input:repeat_delay $keycursorRepeatDelay
, the holding of$mainMod
no longer works, and I have to release the$mainMod
and press it again.I've tried some tricks like specifying the two executions by abusing the exec dispatcher in one bind like this
bind = $mainMod, escape, exec, hyprctl --batch 'keyword input:repeat_rate $keycursorRepeatRate ; input:repeat_delay $keycursorRepeatDelay' && hyprctl dispatcher submap keyCursorMode
but still no luck.
Condition 2
If I specify the line of bind
bind = $mainMod, escape, submap, keyCursorMode
before the line of bindbind = $mainMod, escape, exec, hyprctl --batch keyword input:repeat_rate $keycursorRepeatRate ; input:repeat_delay $keycursorRepeatDelay
, the bind for submap works, but the bind for changing inputrepeat_rate
andrepeat_delay
no longer works.This trick works in sway, but not in hyprland anymore :(
System info
System info
Linux 6.12.10_1 PREEMPT_DYNAMIC x86_64 GNU/Linux in VoidLInux
Hyprland, built from branch at commit 4520b30 (version: bump to 0.44.1).
Date: Wed Oct 9 12:54:39 2024
Tag: v0.44.1, commits: 5309
built against aquamarine 0.4.4
Configuration
Any ideas, guys?
Beta Was this translation helpful? Give feedback.
All reactions