From: Ruben Beltran del Rio Date: Wed, 18 Dec 2024 16:39:45 +0000 (+0100) Subject: Update karabiner X-Git-Url: https://git.r.bdr.sh/rbdr/dotfiles/commitdiff_plain/f3e9f5c17a6ba27ae5715a566b1454031f5a10da?ds=inline Update karabiner --- diff --git a/config/karabiner/karabiner.json b/config/karabiner/karabiner.json index c824680..8a77fbc 100644 --- a/config/karabiner/karabiner.json +++ b/config/karabiner/karabiner.json @@ -1,36 +1,18 @@ { - "global": { - "ask_for_confirmation_before_quitting": true, - "check_for_updates_on_startup": true, - "show_in_menu_bar": false, - "show_profile_name_in_menu_bar": false, - "unsafe_ui": false - }, + "global": { "show_in_menu_bar": false }, "profiles": [ { "complex_modifications": { - "parameters": { - "basic.simultaneous_threshold_milliseconds": 50, - "basic.to_delayed_action_delay_milliseconds": 500, - "basic.to_if_alone_timeout_milliseconds": 1000, - "basic.to_if_held_down_threshold_milliseconds": 500, - "mouse_motion_to_scroll.speed": 100 - }, "rules": [ { "description": "print_screen to command+shift+4", "manipulators": [ { - "from": { - "key_code": "print_screen" - }, + "from": { "key_code": "print_screen" }, "to": [ { "key_code": "4", - "modifiers": [ - "left_gui", - "left_shift" - ], + "modifiers": ["left_gui", "left_shift"], "repeat": false } ], @@ -42,16 +24,11 @@ "description": "pause to ctrl+command+q", "manipulators": [ { - "from": { - "key_code": "pause" - }, + "from": { "key_code": "pause" }, "to": [ { "key_code": "q", - "modifiers": [ - "left_gui", - "left_control" - ], + "modifiers": ["left_gui", "left_control"], "repeat": false } ], @@ -63,17 +40,11 @@ "description": "Insert to Ctrl+Cmd+Alt+N", "manipulators": [ { - "from": { - "key_code": "insert" - }, + "from": { "key_code": "insert" }, "to": [ { "key_code": "n", - "modifiers": [ - "left_control", - "left_alt", - "left_gui" - ], + "modifiers": ["left_control", "left_alt", "left_gui"], "repeat": true } ], @@ -85,247 +56,54 @@ }, "devices": [ { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, "identifiers": { - "is_game_pad": false, "is_keyboard": true, - "is_pointing_device": false, "product_id": 25903, "vendor_id": 3141 }, - "ignore": false, - "manipulate_caps_lock_led": false, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false + "manipulate_caps_lock_led": false }, { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, "identifiers": { - "is_game_pad": false, "is_keyboard": true, - "is_pointing_device": false, "product_id": 834, "vendor_id": 1452 }, - "ignore": false, - "manipulate_caps_lock_led": true, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, "simple_modifications": [ { - "from": { - "key_code": "grave_accent_and_tilde" - }, - "to": [ - { - "key_code": "non_us_backslash" - } - ] + "from": { "key_code": "grave_accent_and_tilde" }, + "to": [{ "key_code": "non_us_backslash" }] }, { - "from": { - "key_code": "non_us_backslash" - }, - "to": [ - { - "key_code": "grave_accent_and_tilde" - } - ] + "from": { "key_code": "non_us_backslash" }, + "to": [{ "key_code": "grave_accent_and_tilde" }] } - ], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 0, - "vendor_id": 13 - }, - "ignore": false, - "manipulate_caps_lock_led": true, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": false, - "is_pointing_device": true, - "product_id": 834, - "vendor_id": 1452 - }, - "ignore": true, - "manipulate_caps_lock_led": false, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false + ] } ], "fn_function_keys": [ { - "from": { - "key_code": "f1" - }, - "to": [ - { - "consumer_key_code": "display_brightness_decrement" - } - ] - }, - { - "from": { - "key_code": "f2" - }, - "to": [ - { - "consumer_key_code": "display_brightness_increment" - } - ] - }, - { - "from": { - "key_code": "f3" - }, - "to": [ - { - "key_code": "mission_control" - } - ] - }, - { - "from": { - "key_code": "f4" - }, - "to": [ - { - "key_code": "launchpad" - } - ] - }, - { - "from": { - "key_code": "f5" - }, - "to": [ - { - "key_code": "illumination_decrement" - } - ] - }, - { - "from": { - "key_code": "f6" - }, - "to": [ - { - "key_code": "illumination_increment" - } - ] + "from": { "key_code": "f3" }, + "to": [{ "key_code": "mission_control" }] }, { - "from": { - "key_code": "f7" - }, - "to": [ - { - "consumer_key_code": "rewind" - } - ] + "from": { "key_code": "f4" }, + "to": [{ "key_code": "launchpad" }] }, { - "from": { - "key_code": "f8" - }, - "to": [ - { - "consumer_key_code": "play_or_pause" - } - ] + "from": { "key_code": "f5" }, + "to": [{ "key_code": "illumination_decrement" }] }, { - "from": { - "key_code": "f9" - }, - "to": [ - { - "consumer_key_code": "fast_forward" - } - ] - }, - { - "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": "f6" }, + "to": [{ "key_code": "illumination_increment" }] } ], "name": "Default profile", - "parameters": { - "delay_milliseconds_before_open_device": 1000 - }, "selected": true, - "simple_modifications": [], "virtual_hid_keyboard": { "country_code": 0, - "indicate_sticky_modifier_keys_state": true, - "mouse_key_xy_scale": 100 + "keyboard_type_v2": "ansi" } } ]