Skip to content

Instantly share code, notes, and snippets.

@Bringoff
Last active June 13, 2022 14:56
Show Gist options
  • Select an option

  • Save Bringoff/0edb88f746283eea24b88ed83a885b80 to your computer and use it in GitHub Desktop.

Select an option

Save Bringoff/0edb88f746283eea24b88ed83a885b80 to your computer and use it in GitHub Desktop.
Karabiner language switcher (different shortcuts for different languages)
{
"title": "Language toggler",
"rules": [
{
"description": "Left_Shift+Left_Command=Ru",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "left_shift",
"modifiers": {
"mandatory": ["left_command"]
}
},
"to_if_alone": [
{
"select_input_source": {
"language": "ru"
}
}
]
}
]
},
{
"description": "Left_Shift+Left_Ctrl=En",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "left_shift",
"modifiers": {
"mandatory": ["left_control"]
}
},
"to_if_alone": [
{
"select_input_source": {
"language": "en"
}
}
]
}
]
},
{
"description": "Left_Shift+Left_Opt=Uk",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "left_shift",
"modifiers": {
"mandatory": ["left_option"]
}
},
"to_if_alone": [
{
"select_input_source": {
"language": "uk"
}
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment