From: Ruben Beltran del Rio Date: Sun, 19 Mar 2023 13:04:36 +0000 (+0100) Subject: Update karabiner X-Git-Url: https://git.r.bdr.sh/rbdr/dotfiles/commitdiff_plain/d02091b9d2370ad3316a294e64c7dac364c2e73e Update karabiner --- diff --git a/config/karabiner/automatic_backups/karabiner_20230205.json b/config/karabiner/automatic_backups/karabiner_20230205.json new file mode 100644 index 0000000..360dd8c --- /dev/null +++ b/config/karabiner/automatic_backups/karabiner_20230205.json @@ -0,0 +1,234 @@ +{ + "global": { + "check_for_updates_on_startup": true, + "show_in_menu_bar": true, + "show_profile_name_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" + }, + "to": [ + { + "key_code": "4", + "modifiers": [ + "left_gui", + "left_shift" + ], + "repeat": false + } + ], + "type": "basic" + } + ] + }, + { + "description": "pause to ctrl+command+q", + "manipulators": [ + { + "from": { + "key_code": "pause" + }, + "to": [ + { + "key_code": "q", + "modifiers": [ + "left_gui", + "left_control" + ], + "repeat": false + } + ], + "type": "basic" + } + ] + }, + { + "description": "Insert to Ctrl+Cmd+Alt+N", + "manipulators": [ + { + "from": { + "key_code": "insert" + }, + "to": [ + { + "key_code": "n", + "modifiers": [ + "left_control", + "left_alt", + "left_gui" + ], + "repeat": true + } + ], + "type": "basic" + } + ] + } + ] + }, + "devices": [ + { + "disable_built_in_keyboard_if_exists": false, + "fn_function_keys": [], + "identifiers": { + "is_keyboard": true, + "is_pointing_device": false, + "product_id": 25903, + "vendor_id": 3141 + }, + "ignore": false, + "manipulate_caps_lock_led": false, + "simple_modifications": [] + } + ], + "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": "f7" + }, + "to": [ + { + "consumer_key_code": "rewind" + } + ] + }, + { + "from": { + "key_code": "f8" + }, + "to": [ + { + "consumer_key_code": "play_or_pause" + } + ] + }, + { + "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" + } + ] + } + ], + "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 + } + } + ] +} \ No newline at end of file diff --git a/config/karabiner/karabiner.json b/config/karabiner/karabiner.json index 360dd8c..e8977b3 100644 --- a/config/karabiner/karabiner.json +++ b/config/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": [ { @@ -93,7 +95,57 @@ }, "ignore": false, "manipulate_caps_lock_led": false, - "simple_modifications": [] + "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": 834, + "vendor_id": 1452 + }, + "ignore": false, + "manipulate_caps_lock_led": true, + "simple_modifications": [ + { + "from": { + "key_code": "non_us_backslash" + }, + "to": [ + { + "key_code": "grave_accent_and_tilde" + } + ] + }, + { + "from": { + "key_code": "grave_accent_and_tilde" + }, + "to": [ + { + "key_code": "non_us_backslash" + } + ] + } + ], + "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": 834, + "vendor_id": 1452 + }, + "ignore": true, + "manipulate_caps_lock_led": false, + "simple_modifications": [], + "treat_as_built_in_keyboard": false } ], "fn_function_keys": [