Replies: 1 comment 1 reply
-
For your initial use case, you could try rvaiya/keyd with its application specific remapping |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, here's my use case: I have a laptop where the
PgUp
andPgDn
buttons are too close to the arrow keys, so I end up misclicking them often. I wanted to disable them in all apps except where they are actually useful (like browser), but there's neither a way to specify a window rule to do that, nor a no-op dispatcher to use in binds if I'm trying to work around this.I ended up writing a script that listens on the socket and issues
hyprctl keyword
every time an active window changes to bind/unbind necessary keys, where theexec
dispatcher serves as a no-op, which is not ideal - a bit messy.So the idea is to allow binds in window rules (or at least expose callbacks like
onActive
to simplify scripting), and add a new no-op dispatcher. WDYT?Beta Was this translation helpful? Give feedback.
All reactions