Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

send key without without being interpreted by skhd #359

Open
GrimalDev opened this issue Jul 6, 2024 · 0 comments
Open

send key without without being interpreted by skhd #359

GrimalDev opened this issue Jul 6, 2024 · 0 comments

Comments

@GrimalDev
Copy link

Hello everyone,

I have been using skhd for a while now, and it is the most stable and customisable way of handling key mapping on macos.
However, there is a usecase, where I don't seen to be able to get my way around. It is remapping to another key mapping used by skhd. For exemple, the case, where you want to invert to existing mappings.
"cmd - q" -> "cmd - w" and "cmd - w" -> "cmd -q" // If you would hit cmd - q skhd would eventualy interprete it as cmd -q (And in the way it works now, it is totally normal)
No matter how weird this usecase is (because it has no purpose in itself), I get the problem when applied on other more complex problems.
The goal of this post is to ask if anyone has encountered the problem and found solutions that always works.
So far known solutions:

  • osascript to "tell application|system to do something" instead of send keys (doesn't always work)
  • It would theoretically be possible to modify skhd to add a tag to tell skhd to ignore the incoming keystroke (wanky but y'all welcome to expand this idea)

Thanks all in advance for the help/brainstorming

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant