Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Karabiner-Elements non-modal layout switcher (comlex modification rule)
{
"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