-
-
Notifications
You must be signed in to change notification settings - Fork 826
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
Is it possible to enable rules only for specific keyboard layout (karabiner)? #2272
Comments
Take a look at the |
On my end actually I just want to disable I couldn't find the code for the examples on the first link. On which file should I make the changes, on |
So you have a rule called |
Usıng import with the help of this answer: ( https://stackoverflow.com/a/60286402/2402577 ). Like for coding I use U.S. keyboard but if I switch to different languagle it makes swapped characters upper case when I press . In turkish keyboard |
If you imported the rule, then it is saved as a json file in So the original file looks like this:
You should modify each of the
This way, if the input language is English, then the brackets will be swapped. Otherwise, the swapping won't happen. If this is the opposite of what you want, then you can replace the |
Thanks @thoelze1, it took some time to code it in I share the gist link in case if someone might need it in future: https://gist.github.com/avatar-lavventura/3c6f3b07a08c66a5bfd5222617d2729c |
On Karabiner I am enabling multiples rules under its complex modifications setup, such as
Emacs key bindings
.I was wondering is it possible to use those enables rules only for a specific keyboard layout such as
U.S.
and automatically disable those rules when I switch to an another keyboard layout.Link: https://stackoverflow.com/q/60329520/2402577
The text was updated successfully, but these errors were encountered: