Last active
November 5, 2021 14:29
-
-
Save Mitrichius/8de077a2f29b9af296d5e8744b8b92ba to your computer and use it in GitHub Desktop.
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