Created
June 26, 2024 12:32
-
-
Save sajt/21a929b7ad52577d274b6d5211bf75e8 to your computer and use it in GitHub Desktop.
Swap y and z with Karabiner only if input source is english
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Title": "Swap 'y' and 'z'", | |
"rules": [ | |
{ | |
"description": "Swap 'y' and 'z'", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "y" | |
}, | |
"to": [ | |
{ | |
"key_code": "z" | |
} | |
], | |
"conditions": [ | |
{ | |
"input_sources": [ | |
{ | |
"language": "en" | |
} | |
], | |
"type": "input_source_if" | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "z" | |
}, | |
"to": [ | |
{ | |
"key_code": "y" | |
} | |
], | |
"conditions": [ | |
{ | |
"input_sources": [ | |
{ | |
"language": "en" | |
} | |
], | |
"type": "input_source_if" | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment