myhome/.config/karabiner/karabiner.json

347 lines
14 KiB
JSON
Raw Normal View History

2021-10-30 22:47:51 +02:00
{
2024-12-08 20:00:16 +01:00
"global": { "show_in_menu_bar": false },
2023-01-16 09:48:37 +01:00
"profiles": [
2022-11-21 22:21:07 +01:00
{
2023-01-16 09:48:37 +01:00
"complex_modifications": {
"rules": [
{
"description": "Change right_command+hjkl to arrow keys",
"manipulators": [
{
"from": {
"key_code": "h",
"modifiers": {
2024-12-08 20:00:16 +01:00
"mandatory": ["right_command"],
"optional": ["any"]
2023-01-16 09:48:37 +01:00
}
},
2024-12-08 20:00:16 +01:00
"to": [{ "key_code": "left_arrow" }],
2023-01-16 09:48:37 +01:00
"type": "basic"
},
{
"from": {
"key_code": "j",
"modifiers": {
2024-12-08 20:00:16 +01:00
"mandatory": ["right_command"],
"optional": ["any"]
2023-01-16 09:48:37 +01:00
}
},
2024-12-08 20:00:16 +01:00
"to": [{ "key_code": "down_arrow" }],
2023-01-16 09:48:37 +01:00
"type": "basic"
},
{
"from": {
"key_code": "k",
"modifiers": {
2024-12-08 20:00:16 +01:00
"mandatory": ["right_command"],
"optional": ["any"]
2023-01-16 09:48:37 +01:00
}
},
2024-12-08 20:00:16 +01:00
"to": [{ "key_code": "up_arrow" }],
2023-01-16 09:48:37 +01:00
"type": "basic"
},
{
"from": {
"key_code": "l",
"modifiers": {
2024-12-08 20:00:16 +01:00
"mandatory": ["right_command"],
"optional": ["any"]
2023-01-16 09:48:37 +01:00
}
},
2024-12-08 20:00:16 +01:00
"to": [{ "key_code": "right_arrow" }],
2023-01-16 09:48:37 +01:00
"type": "basic"
}
]
}
]
2022-11-21 22:21:07 +01:00
},
2023-01-16 09:48:37 +01:00
"devices": [
2022-11-01 15:55:55 +01:00
{
2023-01-16 09:48:37 +01:00
"fn_function_keys": [
{
2024-12-08 20:00:16 +01:00
"from": { "key_code": "f1" },
"to": [{ "consumer_key_code": "mute" }]
2023-01-16 09:48:37 +01:00
},
{
2024-12-08 20:00:16 +01:00
"from": { "key_code": "f2" },
"to": [{ "consumer_key_code": "volume_decrement" }]
2023-01-16 09:48:37 +01:00
},
{
2024-12-08 20:00:16 +01:00
"from": { "key_code": "f3" },
"to": [{ "consumer_key_code": "volume_increment" }]
2023-01-16 09:48:37 +01:00
},
{
2024-12-08 20:00:16 +01:00
"from": { "key_code": "f10" },
"to": [{ "consumer_key_code": "play_or_pause" }]
2023-01-16 09:48:37 +01:00
},
{
2024-12-08 20:00:16 +01:00
"from": { "key_code": "f11" },
"to": [{ "consumer_key_code": "display_brightness_decrement" }]
2023-01-16 09:48:37 +01:00
},
{
2024-12-08 20:00:16 +01:00
"from": { "key_code": "f12" },
"to": [{ "consumer_key_code": "display_brightness_increment" }]
2023-01-16 09:48:37 +01:00
}
],
"identifiers": {
"is_keyboard": true,
"product_id": 591,
"vendor_id": 1452
},
"simple_modifications": [
{
2024-12-08 20:00:16 +01:00
"from": { "key_code": "caps_lock" },
"to": [{ "key_code": "escape" }]
2023-01-16 09:48:37 +01:00
},
{
2024-12-08 20:00:16 +01:00
"from": { "key_code": "down_arrow" },
"to": [{ "pointing_button": "button32" }]
2023-01-16 09:48:37 +01:00
},
{
2024-12-08 20:00:16 +01:00
"from": { "key_code": "escape" },
"to": [{ "key_code": "grave_accent_and_tilde" }]
2023-01-16 09:48:37 +01:00
},
{
2024-12-08 20:00:16 +01:00
"from": { "key_code": "left_arrow" },
"to": [{ "pointing_button": "button32" }]
2023-01-16 09:48:37 +01:00
},
{
2024-12-08 20:00:16 +01:00
"from": { "key_code": "left_command" },
"to": [{ "key_code": "left_option" }]
2023-01-16 09:48:37 +01:00
},
{
2024-12-08 20:00:16 +01:00
"from": { "key_code": "left_option" },
"to": [{ "key_code": "right_command" }]
2023-01-16 09:48:37 +01:00
},
{
2024-12-08 20:00:16 +01:00
"from": { "key_code": "right_arrow" },
"to": [{ "pointing_button": "button32" }]
2023-01-16 09:48:37 +01:00
},
{
2024-12-08 20:00:16 +01:00
"from": { "key_code": "right_command" },
"to": [{ "key_code": "right_option" }]
2023-01-16 09:48:37 +01:00
},
{
2024-12-08 20:00:16 +01:00
"from": { "key_code": "up_arrow" },
"to": [{ "pointing_button": "button32" }]
2023-01-16 09:48:37 +01:00
}
2024-12-08 20:00:16 +01:00
]
2023-01-16 09:48:37 +01:00
},
2021-10-30 22:47:51 +02:00
{
2023-01-16 09:48:37 +01:00
"identifiers": {
"is_keyboard": true,
"product_id": 631,
"vendor_id": 1452
},
"simple_modifications": [
{
2024-12-08 20:00:16 +01:00
"from": { "key_code": "non_us_backslash" },
"to": [{ "key_code": "grave_accent_and_tilde" }]
2023-01-16 09:48:37 +01:00
},
{
2024-12-08 20:00:16 +01:00
"from": { "key_code": "right_command" },
"to": [{ "key_code": "right_option" }]
2023-01-16 09:48:37 +01:00
}
2024-12-08 20:00:16 +01:00
]
2023-01-16 09:48:37 +01:00
},
2021-10-30 22:47:51 +02:00
{
2023-01-16 09:48:37 +01:00
"identifiers": {
"is_keyboard": true,
"product_id": 6194,
"vendor_id": 4152
},
"ignore": true,
2024-12-08 20:00:16 +01:00
"manipulate_caps_lock_led": false
2023-01-16 09:48:37 +01:00
},
2021-10-30 22:47:51 +02:00
{
2023-01-16 09:48:37 +01:00
"identifiers": {
"is_keyboard": true,
"product_id": 615,
"vendor_id": 76
},
"simple_modifications": [
{
2024-12-08 20:00:16 +01:00
"from": { "key_code": "right_command" },
"to": [{ "key_code": "right_option" }]
2023-01-16 09:48:37 +01:00
}
2024-12-08 20:00:16 +01:00
]
2023-01-16 09:48:37 +01:00
},
2021-10-30 22:47:51 +02:00
{
2023-01-16 09:48:37 +01:00
"identifiers": {
"is_pointing_device": true,
"product_id": 6194,
"vendor_id": 4152
},
"simple_modifications": [
{
2024-12-08 20:00:16 +01:00
"from": { "pointing_button": "button5" },
"to": [{ "apple_vendor_keyboard_key_code": "launchpad" }]
2023-01-16 09:48:37 +01:00
}
2024-12-08 20:00:16 +01:00
]
2023-01-16 09:48:37 +01:00
},
2021-10-30 22:47:51 +02:00
{
2023-01-16 09:48:37 +01:00
"identifiers": {
"is_keyboard": true,
"product_id": 30264,
"vendor_id": 3141
},
"simple_modifications": [
{
2024-12-08 20:00:16 +01:00
"from": { "key_code": "escape" },
"to": [{ "key_code": "grave_accent_and_tilde" }]
2023-01-16 09:48:37 +01:00
},
{
2024-12-08 20:00:16 +01:00
"from": { "key_code": "left_command" },
"to": [{ "key_code": "left_option" }]
2023-01-16 09:48:37 +01:00
},
{
2024-12-08 20:00:16 +01:00
"from": { "key_code": "left_option" },
"to": [{ "key_code": "right_command" }]
2023-01-16 09:48:37 +01:00
}
2024-12-08 20:00:16 +01:00
]
2023-01-16 09:48:37 +01:00
},
2021-10-30 22:47:51 +02:00
{
2024-12-08 20:00:16 +01:00
"identifiers": { "is_keyboard": true },
2023-01-16 09:48:37 +01:00
"simple_modifications": [
{
2024-12-08 20:00:16 +01:00
"from": { "key_code": "right_command" },
"to": [{ "key_code": "right_option" }]
2023-01-16 09:48:37 +01:00
},
{
2024-12-08 20:00:16 +01:00
"from": { "key_code": "right_option" },
"to": [{ "key_code": "right_command" }]
2023-01-16 09:48:37 +01:00
}
2024-12-08 20:00:16 +01:00
]
2023-01-16 09:48:37 +01:00
},
2022-09-02 18:39:15 +02:00
{
2023-01-16 09:48:37 +01:00
"identifiers": {
"is_keyboard": true,
"product_id": 34056,
"vendor_id": 3141
},
"simple_modifications": [
{
2024-12-08 20:00:16 +01:00
"from": { "key_code": "left_command" },
"to": [{ "key_code": "left_option" }]
2023-01-16 09:48:37 +01:00
},
{
2024-12-08 20:00:16 +01:00
"from": { "key_code": "left_option" },
"to": [{ "key_code": "right_command" }]
2023-01-16 09:48:37 +01:00
}
2024-12-08 20:00:16 +01:00
]
2023-01-16 09:48:37 +01:00
},
2022-09-02 18:39:15 +02:00
{
2023-01-16 09:48:37 +01:00
"identifiers": {
"is_keyboard": true,
"product_id": 615,
"vendor_id": 1452
},
"simple_modifications": [
{
2024-12-08 20:00:16 +01:00
"from": { "consumer_key_code": "eject" },
"to": [{ "consumer_key_code": "al_terminal_lock_or_screensaver" }]
2023-01-16 09:48:37 +01:00
}
2024-12-08 20:00:16 +01:00
]
2023-10-04 23:21:09 +02:00
},
{
"identifiers": {
"is_keyboard": true,
"product_id": 668,
"vendor_id": 76
},
"simple_modifications": [
{
2024-12-08 20:00:16 +01:00
"from": { "key_code": "right_command" },
"to": [{ "key_code": "right_option" }]
2023-10-04 23:21:09 +02:00
},
{
2024-12-08 20:00:16 +01:00
"from": { "key_code": "right_option" },
"to": [{ "key_code": "right_command" }]
2023-10-04 23:21:09 +02:00
}
2024-12-08 20:00:16 +01:00
]
2024-01-13 23:16:24 +01:00
},
{
"identifiers": {
"is_keyboard": true,
"product_id": 45929,
"vendor_id": 1133
},
2024-12-08 20:00:16 +01:00
"manipulate_caps_lock_led": false,
2024-01-13 23:16:24 +01:00
"simple_modifications": [
{
2024-12-08 20:00:16 +01:00
"from": { "key_code": "right_command" },
"to": [{ "key_code": "right_option" }]
2024-01-13 23:16:24 +01:00
},
{
2024-12-08 20:00:16 +01:00
"from": { "key_code": "right_option" },
"to": [{ "key_code": "right_command" }]
2024-01-13 23:16:24 +01:00
}
2024-12-08 20:00:16 +01:00
]
2024-01-13 23:16:24 +01:00
},
{
2024-12-08 20:00:16 +01:00
"fn_function_keys": [
{
"from": { "key_code": "f1" },
"to": [{ "key_code": "f1" }]
},
{
"from": { "key_code": "f2" },
"to": [{ "key_code": "f2" }]
},
{
"from": { "key_code": "f11" },
"to": [{ "key_code": "f11" }]
}
],
2024-01-13 23:16:24 +01:00
"identifiers": {
"is_keyboard": true,
2024-12-08 20:00:16 +01:00
"product_id": 785,
"vendor_id": 13364
}
2024-01-13 23:16:24 +01:00
},
{
"identifiers": {
2024-12-08 20:00:16 +01:00
"is_keyboard": true,
"product_id": 666,
"vendor_id": 76
2024-01-13 23:16:24 +01:00
},
2024-12-08 20:00:16 +01:00
"ignore": true
2021-10-30 22:47:51 +02:00
}
2023-01-16 09:48:37 +01:00
],
"fn_function_keys": [
{
2024-12-08 20:00:16 +01:00
"from": { "key_code": "f5" },
"to": [{ "key_code": "f5" }]
2023-01-16 09:48:37 +01:00
},
{
2024-12-08 20:00:16 +01:00
"from": { "key_code": "f6" },
"to": [{ "key_code": "f13" }]
2022-11-21 22:21:07 +01:00
}
2023-01-16 09:48:37 +01:00
],
"name": "Default profile",
"selected": true,
"simple_modifications": [
{
2024-12-08 20:00:16 +01:00
"from": { "consumer_key_code": "eject" },
"to": [{ "consumer_key_code": "al_terminal_lock_or_screensaver" }]
2023-01-16 09:48:37 +01:00
},
{
2024-12-08 20:00:16 +01:00
"from": { "key_code": "caps_lock" },
"to": [{ "key_code": "escape" }]
2023-01-16 09:48:37 +01:00
},
2022-11-21 22:21:07 +01:00
{
2024-12-08 20:00:16 +01:00
"from": { "key_code": "left_command" },
"to": [{ "key_code": "right_command" }]
2023-01-16 09:48:37 +01:00
},
{
2024-12-08 20:00:16 +01:00
"from": { "key_code": "grave_accent_and_tilde" },
"to": [{ "key_code": "non_us_backslash" }]
2022-11-21 22:21:07 +01:00
}
2023-01-16 09:48:37 +01:00
],
"virtual_hid_keyboard": {
"country_code": 0,
2024-12-08 20:00:16 +01:00
"keyboard_type_v2": "iso"
2021-10-30 22:47:51 +02:00
}
}
2023-01-16 09:48:37 +01:00
]
}