Last active
May 6, 2023 12:40
-
-
Save eswai/5d2f8ede134b13377776b540955a7a6f to your computer and use it in GitHub Desktop.
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": "Unicode Hex Input Switcher", | |
"rules": [ | |
{ | |
"description": "Switchi Input Source between Unicode Hex Input ane Japanese", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "h", | |
"modifiers": { | |
"mandatory": ["control"], | |
"optional": ["caps_lock", "option"] | |
} | |
}, | |
"to": [ | |
{ | |
"select_input_source": { | |
"input_source_id": "^com\\.apple\\.keylayout\\.UnicodeHexInput$" | |
} | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "j", | |
"modifiers": { | |
"mandatory": ["control"], | |
"optional": ["caps_lock", "option"] | |
} | |
}, | |
"to": [ | |
{ | |
"select_input_source": { | |
"language": "^ja$" | |
} | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment