Karabiner-Elements non-modal layout switcher (comlex modification rule)
This file contains 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": "Non-modal layout switcher", | |
"rules": [ | |
{ | |
"description": "CapsLock->RU, RightShift+CapsLock->EN", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "caps_lock" | |
}, | |
"to": [ | |
{ | |
"select_input_source": { | |
"language": "ru" | |
} | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "caps_lock", | |
"modifiers": { | |
"mandatory": [ | |
"right_shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"select_input_source": { | |
"language": "en" | |
} | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment