Last active
February 18, 2022 10:46
-
-
Save MartinSadovy/2555f94a621f93d69e679da3f5a56fce to your computer and use it in GitHub Desktop.
macOs czech keyboard for programmers
This file contains hidden or 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
https://karabiner-elements.pqrs.org/ | |
place my.json to: | |
/Users/sodae/.config/karabiner/assets/complex_modifications |
This file contains hidden or 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": "My non hand breaking keyboard", | |
"rules": [ | |
{ | |
"description": "Right Command + , to {", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"conditions": [ | |
{ | |
"type": "input_source_if", | |
"input_sources": [ | |
{ | |
"input_source_id": "com.apple.keylayout.Czech" | |
} | |
] | |
} | |
], | |
"from": { | |
"key_code": "comma", | |
"modifiers": { | |
"mandatory": [ | |
"right_command" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "9", | |
"modifiers": [ | |
"option" | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "Right Command + . to }", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"conditions": [ | |
{ | |
"type": "input_source_if", | |
"input_sources": [ | |
{ | |
"input_source_id": "com.apple.keylayout.Czech" | |
} | |
] | |
} | |
], | |
"from": { | |
"key_code": "period", | |
"modifiers": { | |
"mandatory": [ | |
"right_command" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "0", | |
"modifiers": [ | |
"option" | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "Right Command + ů to $", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"conditions": [ | |
{ | |
"type": "input_source_if", | |
"input_sources": [ | |
{ | |
"input_source_id": "com.apple.keylayout.Czech" | |
} | |
] | |
} | |
], | |
"from": { | |
"key_code": "semicolon", | |
"modifiers": { | |
"mandatory": [ | |
"right_command" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "4", | |
"modifiers": [ | |
"option" | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "Right Command + 8 to *", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"conditions": [ | |
{ | |
"type": "input_source_if", | |
"input_sources": [ | |
{ | |
"input_source_id": "com.apple.keylayout.Czech" | |
} | |
] | |
} | |
], | |
"from": { | |
"key_code": "8", | |
"modifiers": { | |
"mandatory": [ | |
"right_command" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "8", | |
"modifiers": [ | |
"option" | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "Right Command + backspace to delete", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"conditions": [ | |
{ | |
"type": "input_source_if", | |
"input_sources": [ | |
{ | |
"input_source_id": "com.apple.keylayout.Czech" | |
} | |
] | |
} | |
], | |
"from": { | |
"key_code": "delete_or_backspace", | |
"modifiers": { | |
"mandatory": [ | |
"right_command" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "delete_forward" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "Right Command + q to \\", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"conditions": [ | |
{ | |
"type": "input_source_if", | |
"input_sources": [ | |
{ | |
"input_source_id": "com.apple.keylayout.Czech" | |
} | |
] | |
} | |
], | |
"from": { | |
"key_code": "q", | |
"modifiers": { | |
"mandatory": [ | |
"right_command" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "grave_accent_and_tilde" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "Right Command + w to |", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"conditions": [ | |
{ | |
"type": "input_source_if", | |
"input_sources": [ | |
{ | |
"input_source_id": "com.apple.keylayout.Czech" | |
} | |
] | |
} | |
], | |
"from": { | |
"key_code": "w", | |
"modifiers": { | |
"mandatory": [ | |
"right_command" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "grave_accent_and_tilde", | |
"modifiers": [ | |
"shift" | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "WIP: Disable Right Command", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"conditions": [ | |
{ | |
"type": "input_source_if", | |
"input_sources": [ | |
{ | |
"input_source_id": "com.apple.keylayout.Czech" | |
} | |
] | |
} | |
], | |
"from": { | |
"key_code": "right_command" | |
}, | |
"to": [ | |
{ | |
"key_code": "vk_none" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "Right Command + f10 to mute", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"conditions": [ | |
{ | |
"type": "input_source_if", | |
"input_sources": [ | |
{ | |
"input_source_id": "com.apple.keylayout.Czech" | |
} | |
] | |
} | |
], | |
"from": { | |
"key_code": "f10", | |
"modifiers": { | |
"mandatory": [ | |
"right_command" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "mute" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "Right Command + f11 to decrease volume", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"conditions": [ | |
{ | |
"type": "input_source_if", | |
"input_sources": [ | |
{ | |
"input_source_id": "com.apple.keylayout.Czech" | |
} | |
] | |
} | |
], | |
"from": { | |
"key_code": "f11", | |
"modifiers": { | |
"mandatory": [ | |
"right_command" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "volume_decrement" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "Right Command + f12 to increase volume", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"conditions": [ | |
{ | |
"type": "input_source_if", | |
"input_sources": [ | |
{ | |
"input_source_id": "com.apple.keylayout.Czech" | |
} | |
] | |
} | |
], | |
"from": { | |
"key_code": "f12", | |
"modifiers": { | |
"mandatory": [ | |
"right_command" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "volume_increment" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "Right Command + f1 to display_brightness_decrement", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"conditions": [ | |
{ | |
"type": "input_source_if", | |
"input_sources": [ | |
{ | |
"input_source_id": "com.apple.keylayout.Czech" | |
} | |
] | |
} | |
], | |
"from": { | |
"key_code": "f1", | |
"modifiers": { | |
"mandatory": [ | |
"right_command" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "display_brightness_decrement" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "Right Command + f2 to display_brightness_increment", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"conditions": [ | |
{ | |
"type": "input_source_if", | |
"input_sources": [ | |
{ | |
"input_source_id": "com.apple.keylayout.Czech" | |
} | |
] | |
} | |
], | |
"from": { | |
"key_code": "f2", | |
"modifiers": { | |
"mandatory": [ | |
"right_command" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "display_brightness_increment" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "Right Command + - to *", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"conditions": [ | |
{ | |
"type": "input_source_if", | |
"input_sources": [ | |
{ | |
"input_source_id": "com.apple.keylayout.Czech" | |
} | |
] | |
} | |
], | |
"from": { | |
"key_code": "slash", | |
"modifiers": { | |
"mandatory": [ | |
"right_command" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "8", | |
"modifiers": [ | |
"option" | |
] | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment