commit e08801e45885ffb9a331e0318e8b000e32ad633e
parent fb13924a99996a63e765e39e982df4dbfee6e75c
Author: Alex Balgavy <alex@balgavy.eu>
Date: Tue, 21 Mar 2023 21:45:48 +0100
karabiner: config
Diffstat:
1 file changed, 398 insertions(+), 29 deletions(-)
diff --git a/karabiner/karabiner.json b/karabiner/karabiner.json
@@ -1,8 +1,10 @@
{
"global": {
+ "ask_for_confirmation_before_quitting": true,
"check_for_updates_on_startup": true,
"show_in_menu_bar": true,
- "show_profile_name_in_menu_bar": false
+ "show_profile_name_in_menu_bar": false,
+ "unsafe_ui": false
},
"profiles": [
{
@@ -16,9 +18,9 @@
},
"rules": [
{
+ "description": "Change caps_lock to control when used as modifier, escape when used alone",
"manipulators": [
{
- "description": "Change caps_lock to control when used as modifier, escape when used alone",
"from": {
"key_code": "caps_lock",
"modifiers": {
@@ -506,6 +508,51 @@
"type": "basic"
}
]
+ },
+ {
+ "description": "Hyper Key (⌃⌥⇧⌘)",
+ "manipulators": [
+ {
+ "from": {
+ "key_code": "application",
+ "modifiers": {
+ "optional": [
+ "caps_lock"
+ ]
+ }
+ },
+ "to": [
+ {
+ "key_code": "left_shift",
+ "modifiers": [
+ "left_command",
+ "left_control",
+ "left_option"
+ ]
+ }
+ ],
+ "type": "basic"
+ }
+ ]
+ },
+ {
+ "description": "Mouse button to window controls",
+ "manipulators": [
+ {
+ "from": {
+ "pointing_button": "button4"
+ },
+ "to": [
+ {
+ "key_code": "left_shift",
+ "modifiers": [
+ "left_option"
+ ]
+ }
+ ],
+ "type": "basic"
+ }
+ ]
}
]
},
@@ -521,7 +568,8 @@
},
"ignore": true,
"manipulate_caps_lock_led": false,
- "simple_modifications": []
+ "simple_modifications": [],
+ "treat_as_built_in_keyboard": false
},
{
"disable_built_in_keyboard_if_exists": false,
@@ -555,7 +603,8 @@
},
"ignore": false,
"manipulate_caps_lock_led": true,
- "simple_modifications": []
+ "simple_modifications": [],
+ "treat_as_built_in_keyboard": false
},
{
"disable_built_in_keyboard_if_exists": false,
@@ -568,7 +617,8 @@
},
"ignore": false,
"manipulate_caps_lock_led": true,
- "simple_modifications": []
+ "simple_modifications": [],
+ "treat_as_built_in_keyboard": false
},
{
"disable_built_in_keyboard_if_exists": false,
@@ -602,7 +652,8 @@
},
"ignore": false,
"manipulate_caps_lock_led": false,
- "simple_modifications": []
+ "simple_modifications": [],
+ "treat_as_built_in_keyboard": false
},
{
"disable_built_in_keyboard_if_exists": false,
@@ -626,7 +677,346 @@
}
]
}
- ]
+ ],
+ "treat_as_built_in_keyboard": false
+ },
+ {
+ "disable_built_in_keyboard_if_exists": false,
+ "fn_function_keys": [],
+ "identifiers": {
+ "is_keyboard": true,
+ "is_pointing_device": false,
+ "product_id": 595,
+ "vendor_id": 1452
+ },
+ "ignore": false,
+ "manipulate_caps_lock_led": true,
+ "simple_modifications": [
+ {
+ "from": {
+ "consumer_key_code": "eject"
+ },
+ "to": [
+ {
+ "key_code": "f13"
+ }
+ ]
+ },
+ {
+ "from": {
+ "key_code": "f3"
+ },
+ "to": [
+ {
+ "apple_vendor_keyboard_key_code": "mission_control"
+ }
+ ]
+ },
+ {
+ "from": {
+ "key_code": "f4"
+ },
+ "to": [
+ {
+ "apple_vendor_keyboard_key_code": "launchpad"
+ }
+ ]
+ },
+ {
+ "from": {
+ "key_code": "f10"
+ },
+ "to": [
+ {
+ "consumer_key_code": "mute"
+ }
+ ]
+ },
+ {
+ "from": {
+ "key_code": "f11"
+ },
+ "to": [
+ {
+ "consumer_key_code": "volume_decrement"
+ }
+ ]
+ },
+ {
+ "from": {
+ "key_code": "f12"
+ },
+ "to": [
+ {
+ "consumer_key_code": "volume_increment"
+ }
+ ]
+ },
+ {
+ "from": {
+ "key_code": "grave_accent_and_tilde"
+ },
+ "to": [
+ {
+ "key_code": "application"
+ }
+ ]
+ },
+ {
+ "from": {
+ "key_code": "non_us_backslash"
+ },
+ "to": [
+ {
+ "key_code": "grave_accent_and_tilde"
+ }
+ ]
+ },
+ {
+ "from": {
+ "key_code": "right_option"
+ },
+ "to": [
+ {
+ "key_code": "left_control"
+ }
+ ]
+ }
+ ],
+ "treat_as_built_in_keyboard": false
+ },
+ {
+ "disable_built_in_keyboard_if_exists": false,
+ "fn_function_keys": [],
+ "identifiers": {
+ "is_keyboard": false,
+ "is_pointing_device": true,
+ "product_id": 595,
+ "vendor_id": 1452
+ },
+ "ignore": true,
+ "manipulate_caps_lock_led": false,
+ "simple_modifications": [],
+ "treat_as_built_in_keyboard": false
+ },
+ {
+ "disable_built_in_keyboard_if_exists": false,
+ "fn_function_keys": [],
+ "identifiers": {
+ "is_keyboard": true,
+ "is_pointing_device": false,
+ "product_id": 50475,
+ "vendor_id": 1133
+ },
+ "ignore": false,
+ "manipulate_caps_lock_led": true,
+ "simple_modifications": [
+ {
+ "from": {
+ "key_code": "grave_accent_and_tilde"
+ },
+ "to": [
+ {
+ "key_code": "non_us_backslash"
+ }
+ ]
+ },
+ {
+ "from": {
+ "key_code": "left_command"
+ },
+ "to": [
+ {
+ "key_code": "left_option"
+ }
+ ]
+ },
+ {
+ "from": {
+ "key_code": "left_option"
+ },
+ "to": [
+ {
+ "key_code": "left_command"
+ }
+ ]
+ },
+ {
+ "from": {
+ "key_code": "non_us_backslash"
+ },
+ "to": [
+ {
+ "key_code": "grave_accent_and_tilde"
+ }
+ ]
+ },
+ {
+ "from": {
+ "key_code": "right_command"
+ },
+ "to": [
+ {
+ "key_code": "right_option"
+ }
+ ]
+ },
+ {
+ "from": {
+ "key_code": "right_option"
+ },
+ "to": [
+ {
+ "key_code": "right_command"
+ }
+ ]
+ }
+ ],
+ "treat_as_built_in_keyboard": false
+ },
+ {
+ "disable_built_in_keyboard_if_exists": false,
+ "fn_function_keys": [],
+ "identifiers": {
+ "is_keyboard": false,
+ "is_pointing_device": true,
+ "product_id": 50475,
+ "vendor_id": 1133
+ },
+ "ignore": true,
+ "manipulate_caps_lock_led": false,
+ "simple_modifications": [],
+ "treat_as_built_in_keyboard": false
+ },
+ {
+ "disable_built_in_keyboard_if_exists": false,
+ "fn_function_keys": [],
+ "identifiers": {
+ "is_keyboard": true,
+ "is_pointing_device": false,
+ "product_id": 49948,
+ "vendor_id": 1133
+ },
+ "ignore": false,
+ "manipulate_caps_lock_led": true,
+ "simple_modifications": [
+ {
+ "from": {
+ "key_code": "f3"
+ },
+ "to": [
+ {
+ "apple_vendor_keyboard_key_code": "mission_control"
+ }
+ ]
+ },
+ {
+ "from": {
+ "key_code": "f4"
+ },
+ "to": [
+ {
+ "apple_vendor_keyboard_key_code": "launchpad"
+ }
+ ]
+ },
+ {
+ "from": {
+ "key_code": "f10"
+ },
+ "to": [
+ {
+ "consumer_key_code": "mute"
+ }
+ ]
+ },
+ {
+ "from": {
+ "key_code": "f11"
+ },
+ "to": [
+ {
+ "consumer_key_code": "volume_decrement"
+ }
+ ]
+ },
+ {
+ "from": {
+ "key_code": "f12"
+ },
+ "to": [
+ {
+ "consumer_key_code": "volume_increment"
+ }
+ ]
+ },
+ {
+ "from": {
+ "key_code": "left_command"
+ },
+ "to": [
+ {
+ "key_code": "left_option"
+ }
+ ]
+ },
+ {
+ "from": {
+ "key_code": "left_option"
+ },
+ "to": [
+ {
+ "key_code": "left_command"
+ }
+ ]
+ },
+ {
+ "from": {
+ "key_code": "right_command"
+ },
+ "to": [
+ {
+ "key_code": "right_option"
+ }
+ ]
+ },
+ {
+ "from": {
+ "key_code": "right_option"
+ },
+ "to": [
+ {
+ "key_code": "right_command"
+ }
+ ]
+ }
+ ],
+ "treat_as_built_in_keyboard": false
+ },
+ {
+ "disable_built_in_keyboard_if_exists": false,
+ "fn_function_keys": [],
+ "identifiers": {
+ "is_keyboard": false,
+ "is_pointing_device": true,
+ "product_id": 473,
+ "vendor_id": 5215
+ },
+ "ignore": false,
+ "manipulate_caps_lock_led": false,
+ "simple_modifications": [
+ {
+ "from": {
+ "pointing_button": "button5"
+ },
+ "to": [
+ {
+ "apple_vendor_keyboard_key_code": "mission_control"
+ }
+ ]
+ }
+ ],
+ "treat_as_built_in_keyboard": false
}
],
"fn_function_keys": [
@@ -756,28 +1146,7 @@
"delay_milliseconds_before_open_device": 1000
},
"selected": true,
- "simple_modifications": [
- {
- "from": {
- "consumer_key_code": "eject"
- },
- "to": [
- {
- "key_code": "f13"
- }
- ]
- },
- {
- "from": {
- "key_code": "f10"
- },
- "to": [
- {
- "consumer_key_code": "mute"
- }
- ]
- }
- ],
+ "simple_modifications": [],
"virtual_hid_keyboard": {
"caps_lock_delay_milliseconds": 0,
"country_code": 0,