Skip to content

Instantly share code, notes, and snippets.

@nup002
Created August 29, 2025 17:48
Show Gist options
  • Save nup002/e26b09c8d4788d1cc9543631bb8ae2b0 to your computer and use it in GitHub Desktop.
Save nup002/e26b09c8d4788d1cc9543631bb8ae2b0 to your computer and use it in GitHub Desktop.
karabiner input switcher
{
"title": "Unicode Keypad Processor",
"rules": [
{
"description": "Switch to Unicode Hex Input on Option hold",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "left_option"
},
"to": [
{
"set_variable": {
"name": "original_input_source",
"value": 1
}
},
{
"input_source_selector": {
"input_sources": [
{
"input_source_id": "com.apple.keylayout.UnicodeHexInput"
}
]
}
}
],
"to_after_key_up": [
{
"input_source_selector": {
"input_sources": [
{
"input_source_id": "^com.apple.keylayout.UnicodeHexInput"
}
]
}
}
],
"conditions": [
{
"type": "device_if",
"identifiers": [
{
"vendor_id": 4617,
"product_id": 8721
}
]
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment