Last active
May 17, 2023 07:50
-
-
Save Enapiuz/62314271a52f0507ca9f8592c19d0acc to your computer and use it in GitHub Desktop.
Karabiner: Left Command -> ENG, Left Option -> RU
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
{ | |
"description": "L_CMD -> ENG, L_OPT -> RU", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "left_command", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_command", | |
"lazy": true | |
} | |
], | |
"to_if_alone": [ | |
{ | |
"select_input_source": { | |
"language": "en" | |
} | |
} | |
], | |
"to_if_held_down": [ | |
{ | |
"key_code": "left_command" | |
} | |
], | |
"parameters": { | |
"basic.to_if_alone_timeout_milliseconds": 500, | |
"basic.to_if_held_down_threshold_milliseconds": 500 | |
} | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "left_option", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_option", | |
"lazy": true | |
} | |
], | |
"to_if_alone": [ | |
{ | |
"select_input_source": { | |
"language": "ru" | |
} | |
} | |
], | |
"to_if_held_down": [ | |
{ | |
"key_code": "left_option" | |
} | |
], | |
"parameters": { | |
"basic.to_if_alone_timeout_milliseconds": 500, | |
"basic.to_if_held_down_threshold_milliseconds": 500 | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment