From 2770a3024d99d666196b3c2b9a61c640278c53bf Mon Sep 17 00:00:00 2001 From: Anton Volnuhin Date: Thu, 30 Nov 2023 23:23:29 +0300 Subject: [PATCH] karabiner processed --- .../private_complex_modifications/.keep | 0 .../karabiner_20230610.json | 186 +++ .../karabiner_20230709.json | 615 ++++++++++ .../karabiner_20230726.json | 773 +++++++++++++ .../karabiner_20230821.json | 900 +++++++++++++++ .../karabiner_20231006.json | 900 +++++++++++++++ .../karabiner_20231114.json | 919 +++++++++++++++ .../private_karabiner/private_karabiner.json | 1019 +++++++++++++++++ 8 files changed, 5312 insertions(+) create mode 100644 private_dot_config/private_karabiner/private_assets/private_complex_modifications/.keep create mode 100644 private_dot_config/private_karabiner/private_automatic_backups/karabiner_20230610.json create mode 100644 private_dot_config/private_karabiner/private_automatic_backups/karabiner_20230709.json create mode 100644 private_dot_config/private_karabiner/private_automatic_backups/karabiner_20230726.json create mode 100644 private_dot_config/private_karabiner/private_automatic_backups/karabiner_20230821.json create mode 100644 private_dot_config/private_karabiner/private_automatic_backups/karabiner_20231006.json create mode 100644 private_dot_config/private_karabiner/private_automatic_backups/karabiner_20231114.json create mode 100644 private_dot_config/private_karabiner/private_karabiner.json diff --git a/private_dot_config/private_karabiner/private_assets/private_complex_modifications/.keep b/private_dot_config/private_karabiner/private_assets/private_complex_modifications/.keep new file mode 100644 index 0000000..e69de29 diff --git a/private_dot_config/private_karabiner/private_automatic_backups/karabiner_20230610.json b/private_dot_config/private_karabiner/private_automatic_backups/karabiner_20230610.json new file mode 100644 index 0000000..21f5e16 --- /dev/null +++ b/private_dot_config/private_karabiner/private_automatic_backups/karabiner_20230610.json @@ -0,0 +1,186 @@ +{ + "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, + "unsafe_ui": 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": [] + }, + "devices": [ + { + "disable_built_in_keyboard_if_exists": false, + "fn_function_keys": [], + "identifiers": { + "is_keyboard": true, + "is_pointing_device": false, + "product_id": 835, + "vendor_id": 1452 + }, + "ignore": false, + "manipulate_caps_lock_led": true, + "simple_modifications": [], + "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": 835, + "vendor_id": 1452 + }, + "ignore": true, + "manipulate_caps_lock_led": 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": [ + { + "apple_vendor_keyboard_key_code": "mission_control" + } + ] + }, + { + "from": { + "key_code": "f4" + }, + "to": [ + { + "apple_vendor_keyboard_key_code": "spotlight" + } + ] + }, + { + "from": { + "key_code": "f5" + }, + "to": [ + { + "consumer_key_code": "dictation" + } + ] + }, + { + "from": { + "key_code": "f6" + }, + "to": [ + { + "key_code": "f6" + } + ] + }, + { + "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/private_dot_config/private_karabiner/private_automatic_backups/karabiner_20230709.json b/private_dot_config/private_karabiner/private_automatic_backups/karabiner_20230709.json new file mode 100644 index 0000000..0deab72 --- /dev/null +++ b/private_dot_config/private_karabiner/private_automatic_backups/karabiner_20230709.json @@ -0,0 +1,615 @@ +{ + "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, + "unsafe_ui" : false + }, + "profiles" : [ { + "complex_modifications" : { + "parameters" : { + "basic.simultaneous_threshold_milliseconds" : 50, + "basic.to_delayed_action_delay_milliseconds" : 500, + "basic.to_if_alone_timeout_milliseconds" : 200, + "basic.to_if_held_down_threshold_milliseconds" : 800 + }, + "rules" : [ { + "description" : "Backslash<->Open_Bracket on Advantage2", + "manipulators" : [ { + "from" : { + "key_code" : "open_bracket" + }, + "to" : [ { + "key_code" : "5", + "modifiers" : [ "right_shift" ] + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + }, { + "type" : "frontmost_application_if", + "bundle_identifiers" : [ "^com\\.chekazuja\\.keykey$" ] + }, { + "identifiers" : [ { + "vendor_id" : 10730, + "product_id" : 258 + } ], + "type" : "device_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "open_bracket", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "8", + "modifiers" : [ "right_shift" ] + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + }, { + "type" : "frontmost_application_if", + "bundle_identifiers" : [ "^com\\.chekazuja\\.keykey$" ] + }, { + "identifiers" : [ { + "vendor_id" : 10730, + "product_id" : 258 + } ], + "type" : "device_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "open_bracket", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "backslash" + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + }, { + "type" : "frontmost_application_unless", + "bundle_identifiers" : [ "^com\\.chekazuja\\.keykey$" ] + }, { + "identifiers" : [ { + "vendor_id" : 10730, + "product_id" : 258 + } ], + "type" : "device_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "backslash", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "open_bracket" + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + }, { + "identifiers" : [ { + "vendor_id" : 10730, + "product_id" : 258 + } ], + "type" : "device_if" + } ], + "type" : "basic" + } ] + }, { + "description" : "Caps->Russian, LShift->English", + "manipulators" : [ { + "to_if_alone" : [ { + "select_input_source" : { + "language" : "en" + } + } ], + "from" : { + "key_code" : "left_shift", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "left_shift" + } ], + "type" : "basic" + }, { + "to_if_alone" : [ { + "key_code" : "6", + "modifiers" : [ "right_shift" ] + } ], + "to_if_held_down" : [ { + "key_code" : "caps_lock" + } ], + "to_after_key_up" : [ { + "set_variable" : { + "name" : "capskey", + "value" : 0 + } + } ], + "from" : { + "key_code" : "caps_lock", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "set_variable" : { + "name" : "capskey", + "value" : 1 + } + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + } ], + "type" : "basic" + }, { + "to_if_alone" : [ { + "key_code" : "comma" + } ], + "to_if_held_down" : [ { + "key_code" : "caps_lock" + } ], + "to_after_key_up" : [ { + "set_variable" : { + "name" : "capskey", + "value" : 0 + } + } ], + "from" : { + "key_code" : "caps_lock", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "set_variable" : { + "name" : "capskey", + "value" : 1 + } + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "en" + } ], + "type" : "input_source_if" + } ], + "type" : "basic" + } ] + }, { + "description" : "Alternative language switches: Lcmd->English, Rcmd->Russian, Rshift-> Russian", + "manipulators" : [ { + "to_if_alone" : [ { + "select_input_source" : { + "language" : "en" + } + } ], + "from" : { + "key_code" : "left_command" + }, + "to" : [ { + "key_code" : "left_command" + } ], + "type" : "basic" + }, { + "to_if_alone" : [ { + "select_input_source" : { + "language" : "ru" + } + } ], + "from" : { + "key_code" : "right_command" + }, + "to" : [ { + "key_code" : "right_command" + } ], + "conditions" : [ { + "identifiers" : [ { + "vendor_id" : 10730, + "product_id" : 258 + } ], + "type" : "device_if" + } ], + "type" : "basic" + }, { + "to_if_alone" : [ { + "select_input_source" : { + "language" : "ru" + } + } ], + "from" : { + "key_code" : "right_shift" + }, + "to" : [ { + "key_code" : "right_shift" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "t", + "modifiers" : { + "mandatory" : [ "left_command" ] + } + }, + "to" : [ { + "key_code" : "t", + "modifiers" : [ "left_command" ] + }, { + "select_input_source" : { + "language" : "en" + } + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "l", + "modifiers" : { + "mandatory" : [ "left_command" ] + } + }, + "to" : [ { + "key_code" : "l", + "modifiers" : [ "left_command" ] + }, { + "select_input_source" : { + "language" : "en" + } + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "tab", + "modifiers" : { + "mandatory" : [ "left_command" ] + } + }, + "to" : [ { + "key_code" : "tab", + "modifiers" : [ "left_command" ] + }, { + "select_input_source" : { + "language" : "en" + } + } ], + "type" : "basic" + } ] + }, { + "description" : "Tab as Hyper(⌘+⌥+^+⇧)", + "manipulators" : [ { + "to_if_alone" : [ { + "key_code" : "tab" + } ], + "from" : { + "key_code" : "tab" + }, + "to" : [ { + "key_code" : "left_shift", + "modifiers" : [ "left_command", "left_control", "left_option", "left_shift" ] + } ], + "conditions" : [ { + "name" : "left_command", + "value" : 1, + "type" : "variable_unless" + } ], + "type" : "basic" + } ] + }, { + "description" : "Caps+T to start Kitty, Caps+B->Bing, Caps+G->Bard, Caps+O->Poe, Caps+P->ChatGPT4, Caps+␣->AllGPT", + "manipulators" : [ { + "from" : { + "key_code" : "t" + }, + "to" : [ { + "shell_command" : "open -a '/Applications/kitty.app'" + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "b" + }, + "to" : [ { + "shell_command" : "open -a '/Users/anton/Applications/Brave Browser Apps.localized/Bing AI.app'" + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "g" + }, + "to" : [ { + "shell_command" : "open -a '/Users/anton/Applications/Brave Browser Apps.localized/Bard.app'" + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "o" + }, + "to" : [ { + "shell_command" : "open -a '/Users/anton/Applications/Brave Browser Apps.localized/Poe.app'" + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "p" + }, + "to" : [ { + "shell_command" : "open -a '/Users/anton/Applications/Brave Browser Apps.localized/ChatGPT4.app'" + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "v" + }, + "to" : [ { + "shell_command" : "open -a '/Users/anton/Applications/Brave Browser Apps.localized/Vikunja.app'" + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "spacebar" + }, + "to" : [ { + "shell_command" : "open -a '/Users/anton/Applications/Brave Browser Apps.localized/GPT.app'" + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + } ], + "type" : "basic" + } ] + }, { + "description" : "Ropt->Comma", + "manipulators" : [ { + "to_if_alone" : [ { + "key_code" : "6", + "modifiers" : [ "right_shift" ] + } ], + "from" : { + "key_code" : "right_option", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "right_shift" + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + } ], + "type" : "basic" + }, { + "to_if_alone" : [ { + "key_code" : "comma" + } ], + "from" : { + "key_code" : "right_option", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "right_shift" + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "en" + } ], + "type" : "input_source_if" + } ], + "type" : "basic" + } ] + }, { + "description" : "Rcommand -> comma, but not on advantage", + "manipulators" : [ { + "to_if_alone" : [ { + "key_code" : "6", + "modifiers" : [ "right_shift" ] + } ], + "from" : { + "key_code" : "right_command", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "right_command" + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + }, { + "identifiers" : [ { + "vendor_id" : 10730, + "product_id" : 258 + } ], + "type" : "device_unless" + } ], + "type" : "basic" + } ] + } ] + }, + "devices" : [ { + "disable_built_in_keyboard_if_exists" : false, + "fn_function_keys" : [ ], + "identifiers" : { + "is_keyboard" : true, + "is_pointing_device" : false, + "product_id" : 835, + "vendor_id" : 1452 + }, + "ignore" : false, + "manipulate_caps_lock_led" : true, + "simple_modifications" : [ ], + "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" : 835, + "vendor_id" : 1452 + }, + "ignore" : true, + "manipulate_caps_lock_led" : 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" : [ { + "apple_vendor_keyboard_key_code" : "mission_control" + } ] + }, { + "from" : { + "key_code" : "f4" + }, + "to" : [ { + "apple_vendor_keyboard_key_code" : "spotlight" + } ] + }, { + "from" : { + "key_code" : "f5" + }, + "to" : [ { + "consumer_key_code" : "dictation" + } ] + }, { + "from" : { + "key_code" : "f6" + }, + "to" : [ { + "key_code" : "f6" + } ] + }, { + "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", + "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/private_dot_config/private_karabiner/private_automatic_backups/karabiner_20230726.json b/private_dot_config/private_karabiner/private_automatic_backups/karabiner_20230726.json new file mode 100644 index 0000000..2ca03f0 --- /dev/null +++ b/private_dot_config/private_karabiner/private_automatic_backups/karabiner_20230726.json @@ -0,0 +1,773 @@ +{ + "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, + "unsafe_ui" : false + }, + "profiles" : [ { + "complex_modifications" : { + "parameters" : { + "basic.simultaneous_threshold_milliseconds" : 50, + "basic.to_delayed_action_delay_milliseconds" : 500, + "basic.to_if_alone_timeout_milliseconds" : 200, + "basic.to_if_held_down_threshold_milliseconds" : 800 + }, + "rules" : [ { + "description" : "Backslash<->Open_Bracket on Advantage2", + "manipulators" : [ { + "from" : { + "key_code" : "open_bracket" + }, + "to" : [ { + "key_code" : "5", + "modifiers" : [ "right_shift" ] + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + }, { + "type" : "frontmost_application_if", + "bundle_identifiers" : [ "^com\\.chekazuja\\.keykey$" ] + }, { + "identifiers" : [ { + "vendor_id" : 10730, + "product_id" : 258 + } ], + "type" : "device_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "open_bracket", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "8", + "modifiers" : [ "right_shift" ] + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + }, { + "type" : "frontmost_application_if", + "bundle_identifiers" : [ "^com\\.chekazuja\\.keykey$" ] + }, { + "identifiers" : [ { + "vendor_id" : 10730, + "product_id" : 258 + } ], + "type" : "device_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "open_bracket", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "backslash" + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + }, { + "type" : "frontmost_application_unless", + "bundle_identifiers" : [ "^com\\.chekazuja\\.keykey$" ] + }, { + "identifiers" : [ { + "vendor_id" : 10730, + "product_id" : 258 + } ], + "type" : "device_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "backslash", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "open_bracket" + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + }, { + "identifiers" : [ { + "vendor_id" : 10730, + "product_id" : 258 + } ], + "type" : "device_if" + } ], + "type" : "basic" + } ] + }, { + "description" : "Delete->Control on Advantage2", + "manipulators" : [ { + "from" : { + "key_code" : "delete_forward", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "left_control" + } ], + "conditions" : [ { + "identifiers" : [ { + "vendor_id" : 10730, + "product_id" : 258 + } ], + "type" : "device_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "equal_sign", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "grave_accent_and_tilde" + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + }, { + "identifiers" : [ { + "vendor_id" : 10730, + "product_id" : 258 + } ], + "type" : "device_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "grave_accent_and_tilde", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "equal_sign" + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + }, { + "identifiers" : [ { + "vendor_id" : 10730, + "product_id" : 258 + } ], + "type" : "device_if" + } ], + "type" : "basic" + } ] + }, { + "description" : "Caps->Russian, LShift->English", + "manipulators" : [ { + "to_if_alone" : [ { + "select_input_source" : { + "language" : "en" + } + } ], + "from" : { + "key_code" : "left_shift", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "left_shift" + } ], + "type" : "basic" + }, { + "to_if_alone" : [ { + "key_code" : "6", + "modifiers" : [ "right_shift" ] + } ], + "to_if_held_down" : [ { + "key_code" : "caps_lock" + } ], + "to_after_key_up" : [ { + "set_variable" : { + "name" : "capskey", + "value" : 0 + } + } ], + "from" : { + "key_code" : "caps_lock", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "set_variable" : { + "name" : "capskey", + "value" : 1 + } + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + } ], + "type" : "basic" + }, { + "to_if_alone" : [ { + "key_code" : "comma" + } ], + "to_if_held_down" : [ { + "key_code" : "caps_lock" + } ], + "to_after_key_up" : [ { + "set_variable" : { + "name" : "capskey", + "value" : 0 + } + } ], + "from" : { + "key_code" : "caps_lock", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "set_variable" : { + "name" : "capskey", + "value" : 1 + } + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "en" + } ], + "type" : "input_source_if" + } ], + "type" : "basic" + } ] + }, { + "description" : "Alternative language switches: Lcmd->English, Rcmd->Russian, Rshift-> Russian", + "manipulators" : [ { + "to_if_alone" : [ { + "select_input_source" : { + "language" : "en" + } + } ], + "from" : { + "key_code" : "left_command" + }, + "to" : [ { + "key_code" : "left_command" + } ], + "type" : "basic" + }, { + "to_if_alone" : [ { + "select_input_source" : { + "language" : "ru" + } + } ], + "from" : { + "key_code" : "right_command" + }, + "to" : [ { + "key_code" : "right_command" + } ], + "conditions" : [ { + "identifiers" : [ { + "vendor_id" : 10730, + "product_id" : 258 + } ], + "type" : "device_if" + } ], + "type" : "basic" + }, { + "to_if_alone" : [ { + "select_input_source" : { + "language" : "ru" + } + } ], + "from" : { + "key_code" : "right_shift" + }, + "to" : [ { + "key_code" : "right_shift" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "t", + "modifiers" : { + "mandatory" : [ "left_command" ] + } + }, + "to" : [ { + "key_code" : "t", + "modifiers" : [ "left_command" ] + }, { + "select_input_source" : { + "language" : "en" + } + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "l", + "modifiers" : { + "mandatory" : [ "left_command" ] + } + }, + "to" : [ { + "key_code" : "l", + "modifiers" : [ "left_command" ] + }, { + "select_input_source" : { + "language" : "en" + } + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "tab", + "modifiers" : { + "mandatory" : [ "left_command" ] + } + }, + "to" : [ { + "key_code" : "tab", + "modifiers" : [ "left_command" ] + }, { + "select_input_source" : { + "language" : "en" + } + } ], + "type" : "basic" + } ] + }, { + "description" : "Tab as Hyper(⌘+⌥+^+⇧)", + "manipulators" : [ { + "to_if_alone" : [ { + "key_code" : "tab" + } ], + "from" : { + "key_code" : "tab" + }, + "to" : [ { + "key_code" : "left_shift", + "modifiers" : [ "left_command", "left_control", "left_option", "left_shift" ] + } ], + "conditions" : [ { + "name" : "left_command", + "value" : 1, + "type" : "variable_unless" + } ], + "type" : "basic" + } ] + }, { + "description" : "Caps+T to start Kitty, Caps+B->Bing, Caps+G->Bard, Caps+O->Poe, Caps+P->ChatGPT4, Caps+␣->AllGPT", + "manipulators" : [ { + "from" : { + "key_code" : "t" + }, + "to" : [ { + "shell_command" : "open -a '/Applications/kitty.app'" + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "b" + }, + "to" : [ { + "shell_command" : "open -a '/Users/anton/Applications/Brave Browser Apps.localized/Bing AI.app'" + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "g" + }, + "to" : [ { + "shell_command" : "open -a '/Users/anton/Applications/Brave Browser Apps.localized/Bard.app'" + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "o" + }, + "to" : [ { + "shell_command" : "open -a '/Users/anton/Applications/Brave Browser Apps.localized/Poe.app'" + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "p" + }, + "to" : [ { + "shell_command" : "open -a '/Users/anton/Applications/Brave Browser Apps.localized/ChatGPT4.app'" + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "v" + }, + "to" : [ { + "shell_command" : "open -a '/Users/anton/Applications/Brave Browser Apps.localized/Vikunja.app'" + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "spacebar" + }, + "to" : [ { + "shell_command" : "open -a '/Users/anton/Applications/Brave Browser Apps.localized/GPT.app'" + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + } ], + "type" : "basic" + } ] + }, { + "description" : "Ropt->Comma", + "manipulators" : [ { + "to_if_alone" : [ { + "key_code" : "6", + "modifiers" : [ "right_shift" ] + } ], + "from" : { + "key_code" : "right_option", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "right_shift" + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + } ], + "type" : "basic" + }, { + "to_if_alone" : [ { + "key_code" : "comma" + } ], + "from" : { + "key_code" : "right_option", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "right_shift" + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "en" + } ], + "type" : "input_source_if" + } ], + "type" : "basic" + } ] + }, { + "description" : "Rcommand -> comma, but not on advantage", + "manipulators" : [ { + "to_if_alone" : [ { + "key_code" : "6", + "modifiers" : [ "right_shift" ] + } ], + "from" : { + "key_code" : "right_command", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "right_command" + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + }, { + "identifiers" : [ { + "vendor_id" : 10730, + "product_id" : 258 + } ], + "type" : "device_unless" + } ], + "type" : "basic" + } ] + } ] + }, + "devices" : [ { + "disable_built_in_keyboard_if_exists" : false, + "fn_function_keys" : [ ], + "identifiers" : { + "is_keyboard" : true, + "is_pointing_device" : false, + "product_id" : 835, + "vendor_id" : 1452 + }, + "ignore" : false, + "manipulate_caps_lock_led" : true, + "simple_modifications" : [ ], + "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" : 835, + "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" : 258, + "vendor_id" : 10730 + }, + "ignore" : false, + "manipulate_caps_lock_led" : true, + "simple_modifications" : [ ], + "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" : 258, + "vendor_id" : 10730 + }, + "ignore" : false, + "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" : false, + "is_pointing_device" : true, + "product_id" : 613, + "vendor_id" : 76 + }, + "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" : 34304, + "vendor_id" : 1452 + }, + "ignore" : false, + "manipulate_caps_lock_led" : true, + "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" : [ ], + "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" : 1031, + "vendor_id" : 4176 + }, + "ignore" : true, + "manipulate_caps_lock_led" : true, + "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" : [ { + "apple_vendor_keyboard_key_code" : "mission_control" + } ] + }, { + "from" : { + "key_code" : "f4" + }, + "to" : [ { + "apple_vendor_keyboard_key_code" : "spotlight" + } ] + }, { + "from" : { + "key_code" : "f5" + }, + "to" : [ { + "consumer_key_code" : "dictation" + } ] + }, { + "from" : { + "key_code" : "f6" + }, + "to" : [ { + "key_code" : "f6" + } ] + }, { + "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", + "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/private_dot_config/private_karabiner/private_automatic_backups/karabiner_20230821.json b/private_dot_config/private_karabiner/private_automatic_backups/karabiner_20230821.json new file mode 100644 index 0000000..f46edf7 --- /dev/null +++ b/private_dot_config/private_karabiner/private_automatic_backups/karabiner_20230821.json @@ -0,0 +1,900 @@ +{ + "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, + "unsafe_ui" : false + }, + "profiles" : [ { + "complex_modifications" : { + "parameters" : { + "basic.simultaneous_threshold_milliseconds" : 50, + "basic.to_delayed_action_delay_milliseconds" : 500, + "basic.to_if_alone_timeout_milliseconds" : 350, + "basic.to_if_held_down_threshold_milliseconds" : 1500 + }, + "rules" : [ { + "description" : "Backslash<->Open_Bracket on Advantage2", + "manipulators" : [ { + "from" : { + "key_code" : "open_bracket" + }, + "to" : [ { + "key_code" : "5", + "modifiers" : [ "right_shift" ] + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + }, { + "type" : "frontmost_application_if", + "bundle_identifiers" : [ "^com\\.chekazuja\\.keykey$" ] + }, { + "identifiers" : [ { + "vendor_id" : 10730, + "product_id" : 258 + } ], + "type" : "device_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "open_bracket", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "8", + "modifiers" : [ "right_shift" ] + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + }, { + "type" : "frontmost_application_if", + "bundle_identifiers" : [ "^com\\.chekazuja\\.keykey$" ] + }, { + "identifiers" : [ { + "vendor_id" : 10730, + "product_id" : 258 + } ], + "type" : "device_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "open_bracket", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "backslash" + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + }, { + "type" : "frontmost_application_unless", + "bundle_identifiers" : [ "^com\\.chekazuja\\.keykey$" ] + }, { + "identifiers" : [ { + "vendor_id" : 10730, + "product_id" : 258 + } ], + "type" : "device_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "backslash", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "open_bracket" + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + }, { + "identifiers" : [ { + "vendor_id" : 10730, + "product_id" : 258 + } ], + "type" : "device_if" + } ], + "type" : "basic" + } ] + }, { + "description" : "Delete->Control on Advantage2", + "manipulators" : [ { + "from" : { + "key_code" : "delete_forward", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "left_control" + } ], + "conditions" : [ { + "identifiers" : [ { + "vendor_id" : 10730, + "product_id" : 258 + } ], + "type" : "device_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "equal_sign", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "grave_accent_and_tilde" + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + }, { + "identifiers" : [ { + "vendor_id" : 10730, + "product_id" : 258 + } ], + "type" : "device_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "grave_accent_and_tilde", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "equal_sign" + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + }, { + "identifiers" : [ { + "vendor_id" : 10730, + "product_id" : 258 + } ], + "type" : "device_if" + } ], + "type" : "basic" + } ] + }, { + "description" : "Alternative language switches: Lcmd->English, Rcmd->Russian, Rshift-> Russian", + "manipulators" : [ { + "to_if_alone" : [ { + "select_input_source" : { + "language" : "en" + } + } ], + "from" : { + "key_code" : "left_command" + }, + "to" : [ { + "key_code" : "left_command" + } ], + "type" : "basic" + }, { + "to_if_alone" : [ { + "select_input_source" : { + "language" : "ru" + } + } ], + "from" : { + "key_code" : "right_command" + }, + "to" : [ { + "key_code" : "right_command" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "t", + "modifiers" : { + "mandatory" : [ "right_command" ] + } + }, + "to" : [ { + "key_code" : "t", + "modifiers" : [ "right_command" ] + }, { + "select_input_source" : { + "language" : "en" + } + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "l", + "modifiers" : { + "mandatory" : [ "right_command" ] + } + }, + "to" : [ { + "key_code" : "l", + "modifiers" : [ "right_command" ] + }, { + "select_input_source" : { + "language" : "en" + } + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "t", + "modifiers" : { + "mandatory" : [ "left_command" ] + } + }, + "to" : [ { + "key_code" : "t", + "modifiers" : [ "left_command" ] + }, { + "select_input_source" : { + "language" : "en" + } + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "l", + "modifiers" : { + "mandatory" : [ "left_command" ] + } + }, + "to" : [ { + "key_code" : "l", + "modifiers" : [ "left_command" ] + }, { + "select_input_source" : { + "language" : "en" + } + } ], + "type" : "basic" + } ] + }, { + "description" : "Caps->Russian, LShift->English", + "manipulators" : [ { + "to_if_alone" : [ { + "select_input_source" : { + "language" : "en" + } + } ], + "from" : { + "key_code" : "left_shift", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "left_shift" + } ], + "type" : "basic" + }, { + "to_if_alone" : [ { + "select_input_source" : { + "language" : "en" + } + } ], + "to_after_key_up" : [ { + "set_variable" : { + "name" : "capskey", + "value" : 0 + } + } ], + "from" : { + "key_code" : "caps_lock", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "set_variable" : { + "name" : "capskey", + "value" : 1 + } + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + } ], + "type" : "basic" + }, { + "to_if_alone" : [ { + "select_input_source" : { + "language" : "ru" + } + } ], + "to_after_key_up" : [ { + "set_variable" : { + "name" : "capskey", + "value" : 0 + } + } ], + "from" : { + "key_code" : "caps_lock", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "set_variable" : { + "name" : "capskey", + "value" : 1 + } + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "en" + } ], + "type" : "input_source_if" + } ], + "type" : "basic" + } ] + }, { + "description" : "Tab as Hyper(⌘+⌥+^+⇧)", + "manipulators" : [ { + "to_if_alone" : [ { + "key_code" : "tab" + } ], + "from" : { + "key_code" : "tab" + }, + "to" : [ { + "key_code" : "left_shift", + "modifiers" : [ "left_command", "left_control", "left_option", "left_shift" ] + } ], + "conditions" : [ { + "name" : "left_command", + "value" : 1, + "type" : "variable_unless" + } ], + "type" : "basic" + } ] + }, { + "description" : "Caps+T to start Kitty, Caps+B->Bing, Caps+G->Bard, Caps+O->Poe, Caps+P->ChatGPT4, Caps+␣->AllGPT", + "manipulators" : [ { + "from" : { + "key_code" : "t" + }, + "to" : [ { + "shell_command" : "open -a '/Applications/kitty.app'" + }, { + "select_input_source" : { + "language" : "en" + } + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + }, { + "type" : "frontmost_application_unless", + "bundle_identifiers" : [ "^net\\.kovidgoyal\\.kitty$" ] + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "t" + }, + "to" : [ { + "key_code" : "t", + "modifiers" : [ "left_command" ] + }, { + "select_input_source" : { + "language" : "en" + } + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + }, { + "type" : "frontmost_application_if", + "bundle_identifiers" : [ "^net\\.kovidgoyal\\.kitty$" ] + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "a" + }, + "to" : [ { + "shell_command" : "open -a '/Applications/Arc.app'" + }, { + "select_input_source" : { + "language" : "en" + } + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "b" + }, + "to" : [ { + "shell_command" : "open -a '/Users/anton/Applications/Brave Browser Apps.localized/Bing AI.app'" + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "g" + }, + "to" : [ { + "shell_command" : "open -a '/Users/anton/Applications/Brave Browser Apps.localized/Bard.app'" + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "c" + }, + "to" : [ { + "shell_command" : "open -a '/Users/anton/Applications/Brave Browser Apps.localized/Claude.app'" + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "o" + }, + "to" : [ { + "shell_command" : "open -a '/Applications/Poe.app'" + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "p" + }, + "to" : [ { + "shell_command" : "open -a '/Users/anton/Applications/Brave Browser Apps.localized/ChatGPT4.app'" + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "v" + }, + "to" : [ { + "shell_command" : "open -a '/Users/anton/Applications/Brave Browser Apps.localized/Vikunja.app'" + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "spacebar" + }, + "to" : [ { + "shell_command" : "open -a '/Users/anton/Applications/Brave Browser Apps.localized/GPT.app'" + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + } ], + "type" : "basic" + } ] + }, { + "description" : "Ropt->Comma", + "manipulators" : [ { + "to_if_alone" : [ { + "key_code" : "6", + "modifiers" : [ "right_shift" ] + } ], + "from" : { + "key_code" : "right_option", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "right_shift" + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + } ], + "type" : "basic" + }, { + "to_if_alone" : [ { + "key_code" : "comma" + } ], + "from" : { + "key_code" : "right_option", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "right_shift" + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "en" + } ], + "type" : "input_source_if" + } ], + "type" : "basic" + } ] + }, { + "description" : "Rshift->Comma", + "manipulators" : [ { + "to_if_alone" : [ { + "key_code" : "6", + "modifiers" : [ "right_shift" ] + } ], + "to_if_held_down" : [ { + "key_code" : "caps_lock" + } ], + "from" : { + "key_code" : "right_shift", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "right_shift" + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + } ], + "type" : "basic" + }, { + "to_if_alone" : [ { + "key_code" : "comma" + } ], + "to_if_held_down" : [ { + "key_code" : "caps_lock" + } ], + "from" : { + "key_code" : "right_shift", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "right_shift" + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "en" + } ], + "type" : "input_source_if" + } ], + "type" : "basic" + } ] + }, { + "description" : "Rcommand -> comma, but not on advantage", + "manipulators" : [ { + "to_if_alone" : [ { + "key_code" : "6", + "modifiers" : [ "right_shift" ] + } ], + "from" : { + "key_code" : "right_command", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "right_command" + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + }, { + "identifiers" : [ { + "vendor_id" : 10730, + "product_id" : 258 + } ], + "type" : "device_unless" + } ], + "type" : "basic" + } ] + } ] + }, + "devices" : [ { + "disable_built_in_keyboard_if_exists" : false, + "fn_function_keys" : [ ], + "identifiers" : { + "is_keyboard" : true, + "is_pointing_device" : false, + "product_id" : 835, + "vendor_id" : 1452 + }, + "ignore" : false, + "manipulate_caps_lock_led" : true, + "simple_modifications" : [ ], + "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" : 835, + "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" : 258, + "vendor_id" : 10730 + }, + "ignore" : false, + "manipulate_caps_lock_led" : true, + "simple_modifications" : [ ], + "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" : 258, + "vendor_id" : 10730 + }, + "ignore" : false, + "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" : false, + "is_pointing_device" : true, + "product_id" : 613, + "vendor_id" : 76 + }, + "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" : 34304, + "vendor_id" : 1452 + }, + "ignore" : false, + "manipulate_caps_lock_led" : true, + "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" : true, + "manipulate_caps_lock_led" : true, + "simple_modifications" : [ ], + "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" : 1031, + "vendor_id" : 4176 + }, + "ignore" : true, + "manipulate_caps_lock_led" : true, + "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" : 592, + "vendor_id" : 1452 + }, + "ignore" : true, + "manipulate_caps_lock_led" : true, + "simple_modifications" : [ ], + "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" : 50801, + "vendor_id" : 9583 + }, + "ignore" : true, + "manipulate_caps_lock_led" : 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" : [ { + "apple_vendor_keyboard_key_code" : "mission_control" + } ] + }, { + "from" : { + "key_code" : "f4" + }, + "to" : [ { + "apple_vendor_keyboard_key_code" : "spotlight" + } ] + }, { + "from" : { + "key_code" : "f5" + }, + "to" : [ { + "consumer_key_code" : "dictation" + } ] + }, { + "from" : { + "key_code" : "f6" + }, + "to" : [ { + "key_code" : "f6" + } ] + }, { + "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", + "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/private_dot_config/private_karabiner/private_automatic_backups/karabiner_20231006.json b/private_dot_config/private_karabiner/private_automatic_backups/karabiner_20231006.json new file mode 100644 index 0000000..0bef2b9 --- /dev/null +++ b/private_dot_config/private_karabiner/private_automatic_backups/karabiner_20231006.json @@ -0,0 +1,900 @@ +{ + "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, + "unsafe_ui" : false + }, + "profiles" : [ { + "complex_modifications" : { + "parameters" : { + "basic.simultaneous_threshold_milliseconds" : 50, + "basic.to_delayed_action_delay_milliseconds" : 500, + "basic.to_if_alone_timeout_milliseconds" : 350, + "basic.to_if_held_down_threshold_milliseconds" : 1500 + }, + "rules" : [ { + "description" : "Backslash<->Open_Bracket on Advantage2", + "manipulators" : [ { + "from" : { + "key_code" : "open_bracket" + }, + "to" : [ { + "key_code" : "5", + "modifiers" : [ "right_shift" ] + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + }, { + "type" : "frontmost_application_if", + "bundle_identifiers" : [ "^com\\.chekazuja\\.keykey$" ] + }, { + "identifiers" : [ { + "vendor_id" : 10730, + "product_id" : 258 + } ], + "type" : "device_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "open_bracket", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "8", + "modifiers" : [ "right_shift" ] + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + }, { + "type" : "frontmost_application_if", + "bundle_identifiers" : [ "^com\\.chekazuja\\.keykey$" ] + }, { + "identifiers" : [ { + "vendor_id" : 10730, + "product_id" : 258 + } ], + "type" : "device_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "open_bracket", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "backslash" + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + }, { + "type" : "frontmost_application_unless", + "bundle_identifiers" : [ "^com\\.chekazuja\\.keykey$" ] + }, { + "identifiers" : [ { + "vendor_id" : 10730, + "product_id" : 258 + } ], + "type" : "device_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "backslash", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "open_bracket" + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + }, { + "identifiers" : [ { + "vendor_id" : 10730, + "product_id" : 258 + } ], + "type" : "device_if" + } ], + "type" : "basic" + } ] + }, { + "description" : "Delete->Control on Advantage2", + "manipulators" : [ { + "from" : { + "key_code" : "delete_forward", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "left_control" + } ], + "conditions" : [ { + "identifiers" : [ { + "vendor_id" : 10730, + "product_id" : 258 + } ], + "type" : "device_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "equal_sign", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "grave_accent_and_tilde" + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + }, { + "identifiers" : [ { + "vendor_id" : 10730, + "product_id" : 258 + } ], + "type" : "device_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "grave_accent_and_tilde", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "equal_sign" + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + }, { + "identifiers" : [ { + "vendor_id" : 10730, + "product_id" : 258 + } ], + "type" : "device_if" + } ], + "type" : "basic" + } ] + }, { + "description" : "Alternative language switches: Lcmd->English, Rcmd->Russian, Rshift-> Russian", + "manipulators" : [ { + "to_if_alone" : [ { + "select_input_source" : { + "language" : "en" + } + } ], + "from" : { + "key_code" : "left_command" + }, + "to" : [ { + "key_code" : "left_command" + } ], + "type" : "basic" + }, { + "to_if_alone" : [ { + "select_input_source" : { + "language" : "ru" + } + } ], + "from" : { + "key_code" : "right_command" + }, + "to" : [ { + "key_code" : "right_command" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "t", + "modifiers" : { + "mandatory" : [ "right_command" ] + } + }, + "to" : [ { + "key_code" : "t", + "modifiers" : [ "right_command" ] + }, { + "select_input_source" : { + "language" : "en" + } + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "l", + "modifiers" : { + "mandatory" : [ "right_command" ] + } + }, + "to" : [ { + "key_code" : "l", + "modifiers" : [ "right_command" ] + }, { + "select_input_source" : { + "language" : "en" + } + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "t", + "modifiers" : { + "mandatory" : [ "left_command" ] + } + }, + "to" : [ { + "key_code" : "t", + "modifiers" : [ "left_command" ] + }, { + "select_input_source" : { + "language" : "en" + } + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "l", + "modifiers" : { + "mandatory" : [ "left_command" ] + } + }, + "to" : [ { + "key_code" : "l", + "modifiers" : [ "left_command" ] + }, { + "select_input_source" : { + "language" : "en" + } + } ], + "type" : "basic" + } ] + }, { + "description" : "Caps->Russian, LShift->English", + "manipulators" : [ { + "to_if_alone" : [ { + "select_input_source" : { + "language" : "en" + } + } ], + "from" : { + "key_code" : "left_shift", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "left_shift" + } ], + "type" : "basic" + }, { + "to_if_alone" : [ { + "select_input_source" : { + "language" : "en" + } + } ], + "to_after_key_up" : [ { + "set_variable" : { + "name" : "capskey", + "value" : 0 + } + } ], + "from" : { + "key_code" : "caps_lock", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "set_variable" : { + "name" : "capskey", + "value" : 1 + } + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + } ], + "type" : "basic" + }, { + "to_if_alone" : [ { + "select_input_source" : { + "language" : "ru" + } + } ], + "to_after_key_up" : [ { + "set_variable" : { + "name" : "capskey", + "value" : 0 + } + } ], + "from" : { + "key_code" : "caps_lock", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "set_variable" : { + "name" : "capskey", + "value" : 1 + } + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "en" + } ], + "type" : "input_source_if" + } ], + "type" : "basic" + } ] + }, { + "description" : "Tab as Hyper(⌘+⌥+^+⇧)", + "manipulators" : [ { + "to_if_alone" : [ { + "key_code" : "tab" + } ], + "from" : { + "key_code" : "tab" + }, + "to" : [ { + "key_code" : "left_shift", + "modifiers" : [ "left_command", "left_control", "left_option", "left_shift" ] + } ], + "conditions" : [ { + "name" : "left_command", + "value" : 1, + "type" : "variable_unless" + } ], + "type" : "basic" + } ] + }, { + "description" : "Caps+T to start Kitty, Caps+B->Bing, Caps+G->Bard, Caps+O->Poe, Caps+P->ChatGPT4, Caps+␣->AllGPT", + "manipulators" : [ { + "from" : { + "key_code" : "t" + }, + "to" : [ { + "shell_command" : "open -a '/Applications/kitty.app'" + }, { + "select_input_source" : { + "language" : "en" + } + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + }, { + "type" : "frontmost_application_unless", + "bundle_identifiers" : [ "^net\\.kovidgoyal\\.kitty$" ] + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "t" + }, + "to" : [ { + "key_code" : "t", + "modifiers" : [ "left_command" ] + }, { + "select_input_source" : { + "language" : "en" + } + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + }, { + "type" : "frontmost_application_if", + "bundle_identifiers" : [ "^net\\.kovidgoyal\\.kitty$" ] + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "a" + }, + "to" : [ { + "shell_command" : "open -a '/Applications/Arc.app'" + }, { + "select_input_source" : { + "language" : "en" + } + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "b" + }, + "to" : [ { + "shell_command" : "open -a '/Users/anton/Applications/Brave Browser Apps.localized/Bing AI.app'" + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "g" + }, + "to" : [ { + "shell_command" : "open -a '/Users/anton/Applications/Brave Browser Apps.localized/Bard.app'" + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "c" + }, + "to" : [ { + "shell_command" : "open -a '/Users/anton/Applications/Brave Browser Apps.localized/Claude.app'" + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "o" + }, + "to" : [ { + "shell_command" : "open -a '/Applications/Poe.app'" + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "p" + }, + "to" : [ { + "shell_command" : "open -a '/Applications/ChatGPT.app'" + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "v" + }, + "to" : [ { + "shell_command" : "open -a '/Users/anton/Applications/Brave Browser Apps.localized/Vikunja.app'" + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "spacebar" + }, + "to" : [ { + "shell_command" : "open -a '/Users/anton/Applications/Brave Browser Apps.localized/GPT.app'" + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + } ], + "type" : "basic" + } ] + }, { + "description" : "Ropt->Comma", + "manipulators" : [ { + "to_if_alone" : [ { + "key_code" : "6", + "modifiers" : [ "right_shift" ] + } ], + "from" : { + "key_code" : "right_option", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "right_shift" + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + } ], + "type" : "basic" + }, { + "to_if_alone" : [ { + "key_code" : "comma" + } ], + "from" : { + "key_code" : "right_option", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "right_shift" + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "en" + } ], + "type" : "input_source_if" + } ], + "type" : "basic" + } ] + }, { + "description" : "Rshift->Comma", + "manipulators" : [ { + "to_if_alone" : [ { + "key_code" : "6", + "modifiers" : [ "right_shift" ] + } ], + "to_if_held_down" : [ { + "key_code" : "caps_lock" + } ], + "from" : { + "key_code" : "right_shift", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "right_shift" + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + } ], + "type" : "basic" + }, { + "to_if_alone" : [ { + "key_code" : "comma" + } ], + "to_if_held_down" : [ { + "key_code" : "caps_lock" + } ], + "from" : { + "key_code" : "right_shift", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "right_shift" + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "en" + } ], + "type" : "input_source_if" + } ], + "type" : "basic" + } ] + }, { + "description" : "Rcommand -> comma, but not on advantage", + "manipulators" : [ { + "to_if_alone" : [ { + "key_code" : "6", + "modifiers" : [ "right_shift" ] + } ], + "from" : { + "key_code" : "right_command", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "right_command" + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + }, { + "identifiers" : [ { + "vendor_id" : 10730, + "product_id" : 258 + } ], + "type" : "device_unless" + } ], + "type" : "basic" + } ] + } ] + }, + "devices" : [ { + "disable_built_in_keyboard_if_exists" : false, + "fn_function_keys" : [ ], + "identifiers" : { + "is_keyboard" : true, + "is_pointing_device" : false, + "product_id" : 835, + "vendor_id" : 1452 + }, + "ignore" : false, + "manipulate_caps_lock_led" : true, + "simple_modifications" : [ ], + "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" : 835, + "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" : 258, + "vendor_id" : 10730 + }, + "ignore" : false, + "manipulate_caps_lock_led" : true, + "simple_modifications" : [ ], + "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" : 258, + "vendor_id" : 10730 + }, + "ignore" : false, + "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" : false, + "is_pointing_device" : true, + "product_id" : 613, + "vendor_id" : 76 + }, + "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" : 34304, + "vendor_id" : 1452 + }, + "ignore" : false, + "manipulate_caps_lock_led" : true, + "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" : true, + "manipulate_caps_lock_led" : true, + "simple_modifications" : [ ], + "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" : 1031, + "vendor_id" : 4176 + }, + "ignore" : true, + "manipulate_caps_lock_led" : true, + "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" : 592, + "vendor_id" : 1452 + }, + "ignore" : true, + "manipulate_caps_lock_led" : true, + "simple_modifications" : [ ], + "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" : 50801, + "vendor_id" : 9583 + }, + "ignore" : true, + "manipulate_caps_lock_led" : 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" : [ { + "apple_vendor_keyboard_key_code" : "mission_control" + } ] + }, { + "from" : { + "key_code" : "f4" + }, + "to" : [ { + "apple_vendor_keyboard_key_code" : "spotlight" + } ] + }, { + "from" : { + "key_code" : "f5" + }, + "to" : [ { + "consumer_key_code" : "dictation" + } ] + }, { + "from" : { + "key_code" : "f6" + }, + "to" : [ { + "key_code" : "f6" + } ] + }, { + "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", + "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/private_dot_config/private_karabiner/private_automatic_backups/karabiner_20231114.json b/private_dot_config/private_karabiner/private_automatic_backups/karabiner_20231114.json new file mode 100644 index 0000000..f998f17 --- /dev/null +++ b/private_dot_config/private_karabiner/private_automatic_backups/karabiner_20231114.json @@ -0,0 +1,919 @@ +{ + "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, + "unsafe_ui" : false + }, + "profiles" : [ { + "complex_modifications" : { + "parameters" : { + "basic.simultaneous_threshold_milliseconds" : 50, + "basic.to_delayed_action_delay_milliseconds" : 500, + "basic.to_if_alone_timeout_milliseconds" : 350, + "basic.to_if_held_down_threshold_milliseconds" : 1500 + }, + "rules" : [ { + "description" : "Backslash<->Open_Bracket on Advantage2", + "manipulators" : [ { + "from" : { + "key_code" : "open_bracket" + }, + "to" : [ { + "key_code" : "5", + "modifiers" : [ "right_shift" ] + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + }, { + "type" : "frontmost_application_if", + "bundle_identifiers" : [ "^com\\.chekazuja\\.keykey$" ] + }, { + "identifiers" : [ { + "vendor_id" : 10730, + "product_id" : 258 + } ], + "type" : "device_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "open_bracket", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "8", + "modifiers" : [ "right_shift" ] + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + }, { + "type" : "frontmost_application_if", + "bundle_identifiers" : [ "^com\\.chekazuja\\.keykey$" ] + }, { + "identifiers" : [ { + "vendor_id" : 10730, + "product_id" : 258 + } ], + "type" : "device_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "open_bracket", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "backslash" + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + }, { + "type" : "frontmost_application_unless", + "bundle_identifiers" : [ "^com\\.chekazuja\\.keykey$" ] + }, { + "identifiers" : [ { + "vendor_id" : 10730, + "product_id" : 258 + } ], + "type" : "device_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "backslash", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "open_bracket" + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + }, { + "identifiers" : [ { + "vendor_id" : 10730, + "product_id" : 258 + } ], + "type" : "device_if" + } ], + "type" : "basic" + } ] + }, { + "description" : "Delete->Control on Advantage2", + "manipulators" : [ { + "from" : { + "key_code" : "delete_forward", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "left_control" + } ], + "conditions" : [ { + "identifiers" : [ { + "vendor_id" : 10730, + "product_id" : 258 + } ], + "type" : "device_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "equal_sign", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "grave_accent_and_tilde" + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + }, { + "identifiers" : [ { + "vendor_id" : 10730, + "product_id" : 258 + } ], + "type" : "device_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "grave_accent_and_tilde", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "equal_sign" + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + }, { + "identifiers" : [ { + "vendor_id" : 10730, + "product_id" : 258 + } ], + "type" : "device_if" + } ], + "type" : "basic" + } ] + }, { + "description" : "Alternative language switches: Lcmd->English, Rcmd->Russian, Rshift-> Russian", + "manipulators" : [ { + "to_if_alone" : [ { + "select_input_source" : { + "language" : "en" + } + } ], + "from" : { + "key_code" : "left_command" + }, + "to" : [ { + "key_code" : "left_command" + } ], + "type" : "basic" + }, { + "to_if_alone" : [ { + "select_input_source" : { + "language" : "ru" + } + } ], + "from" : { + "key_code" : "right_command" + }, + "to" : [ { + "key_code" : "right_command" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "t", + "modifiers" : { + "mandatory" : [ "right_command" ] + } + }, + "to" : [ { + "key_code" : "t", + "modifiers" : [ "right_command" ] + }, { + "select_input_source" : { + "language" : "en" + } + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "l", + "modifiers" : { + "mandatory" : [ "right_command" ] + } + }, + "to" : [ { + "key_code" : "l", + "modifiers" : [ "right_command" ] + }, { + "select_input_source" : { + "language" : "en" + } + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "t", + "modifiers" : { + "mandatory" : [ "left_command" ] + } + }, + "to" : [ { + "key_code" : "t", + "modifiers" : [ "left_command" ] + }, { + "select_input_source" : { + "language" : "en" + } + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "l", + "modifiers" : { + "mandatory" : [ "left_command" ] + } + }, + "to" : [ { + "key_code" : "l", + "modifiers" : [ "left_command" ] + }, { + "select_input_source" : { + "language" : "en" + } + } ], + "type" : "basic" + } ] + }, { + "description" : "Caps->Russian, LShift->English", + "manipulators" : [ { + "to_if_alone" : [ { + "select_input_source" : { + "language" : "en" + } + } ], + "from" : { + "key_code" : "left_shift", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "left_shift" + } ], + "type" : "basic" + }, { + "to_if_alone" : [ { + "select_input_source" : { + "language" : "en" + } + } ], + "to_after_key_up" : [ { + "set_variable" : { + "name" : "capskey", + "value" : 0 + } + } ], + "from" : { + "key_code" : "caps_lock", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "set_variable" : { + "name" : "capskey", + "value" : 1 + } + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + } ], + "type" : "basic" + }, { + "to_if_alone" : [ { + "select_input_source" : { + "language" : "ru" + } + } ], + "to_after_key_up" : [ { + "set_variable" : { + "name" : "capskey", + "value" : 0 + } + } ], + "from" : { + "key_code" : "caps_lock", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "set_variable" : { + "name" : "capskey", + "value" : 1 + } + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "en" + } ], + "type" : "input_source_if" + } ], + "type" : "basic" + } ] + }, { + "description" : "Tab as Hyper(⌘+⌥+^+⇧)", + "manipulators" : [ { + "to_if_alone" : [ { + "key_code" : "tab" + } ], + "from" : { + "key_code" : "tab" + }, + "to" : [ { + "key_code" : "left_shift", + "modifiers" : [ "left_command", "left_control", "left_option", "left_shift" ] + } ], + "conditions" : [ { + "name" : "left_command", + "value" : 1, + "type" : "variable_unless" + } ], + "type" : "basic" + } ] + }, { + "description" : "Caps+T to start Kitty, Caps+B->Bing, Caps+G->Bard, Caps+O->Poe, Caps+P->ChatGPT4, Caps+␣->AllGPT", + "manipulators" : [ { + "from" : { + "key_code" : "t" + }, + "to" : [ { + "shell_command" : "open -a '/Applications/kitty.app'" + }, { + "select_input_source" : { + "language" : "en" + } + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + }, { + "type" : "frontmost_application_unless", + "bundle_identifiers" : [ "^net\\.kovidgoyal\\.kitty$" ] + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "t" + }, + "to" : [ { + "key_code" : "t", + "modifiers" : [ "left_command" ] + }, { + "select_input_source" : { + "language" : "en" + } + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + }, { + "type" : "frontmost_application_if", + "bundle_identifiers" : [ "^net\\.kovidgoyal\\.kitty$" ] + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "a" + }, + "to" : [ { + "shell_command" : "open -a '/Applications/Arc.app'" + }, { + "select_input_source" : { + "language" : "en" + } + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "b" + }, + "to" : [ { + "shell_command" : "open -a '/Users/anton/Applications/Brave Browser Apps.localized/Bing AI.app'" + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "g" + }, + "to" : [ { + "shell_command" : "open -a '/Users/anton/Applications/Brave Browser Apps.localized/Bard.app'" + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "c" + }, + "to" : [ { + "shell_command" : "open -a '/Users/anton/Applications/Brave Browser Apps.localized/Claude.app'" + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "o" + }, + "to" : [ { + "shell_command" : "open -a '/Applications/Poe.app'" + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "p" + }, + "to" : [ { + "shell_command" : "open -a '/Users/anton/Applications/ChatGPT.app'" + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "v" + }, + "to" : [ { + "shell_command" : "open -a '/Users/anton/Applications/Vikunja.app'" + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "spacebar" + }, + "to" : [ { + "shell_command" : "open -a '/Users/anton/Applications/Brave Browser Apps.localized/GPT.app'" + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + } ], + "type" : "basic" + } ] + }, { + "description" : "⌘W->⌘H in Safari ChatGPT app", + "manipulators" : [ { + "from" : { + "key_code" : "w", + "modifiers" : { + "mandatory" : [ "left_command" ] + } + }, + "to" : [ { + "key_code" : "h", + "modifiers" : [ "left_command" ] + } ], + "conditions" : [ { + "type" : "frontmost_application_if", + "bundle_identifiers" : [ "^com\\.apple\\.Safari\\.WebApp$" ] + } ], + "type" : "basic" + } ] + }, { + "description" : "Ropt->Comma", + "manipulators" : [ { + "to_if_alone" : [ { + "key_code" : "6", + "modifiers" : [ "right_shift" ] + } ], + "from" : { + "key_code" : "right_option", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "right_shift" + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + } ], + "type" : "basic" + }, { + "to_if_alone" : [ { + "key_code" : "comma" + } ], + "from" : { + "key_code" : "right_option", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "right_shift" + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "en" + } ], + "type" : "input_source_if" + } ], + "type" : "basic" + } ] + }, { + "description" : "Rshift->Comma", + "manipulators" : [ { + "to_if_alone" : [ { + "key_code" : "6", + "modifiers" : [ "right_shift" ] + } ], + "to_if_held_down" : [ { + "key_code" : "caps_lock" + } ], + "from" : { + "key_code" : "right_shift", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "right_shift" + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + } ], + "type" : "basic" + }, { + "to_if_alone" : [ { + "key_code" : "comma" + } ], + "to_if_held_down" : [ { + "key_code" : "caps_lock" + } ], + "from" : { + "key_code" : "right_shift", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "right_shift" + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "en" + } ], + "type" : "input_source_if" + } ], + "type" : "basic" + } ] + }, { + "description" : "Rcommand -> comma, but not on advantage", + "manipulators" : [ { + "to_if_alone" : [ { + "key_code" : "6", + "modifiers" : [ "right_shift" ] + } ], + "from" : { + "key_code" : "right_command", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "right_command" + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + }, { + "identifiers" : [ { + "vendor_id" : 10730, + "product_id" : 258 + } ], + "type" : "device_unless" + } ], + "type" : "basic" + } ] + } ] + }, + "devices" : [ { + "disable_built_in_keyboard_if_exists" : false, + "fn_function_keys" : [ ], + "identifiers" : { + "is_keyboard" : true, + "is_pointing_device" : false, + "product_id" : 835, + "vendor_id" : 1452 + }, + "ignore" : false, + "manipulate_caps_lock_led" : true, + "simple_modifications" : [ ], + "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" : 835, + "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" : 258, + "vendor_id" : 10730 + }, + "ignore" : false, + "manipulate_caps_lock_led" : true, + "simple_modifications" : [ ], + "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" : 258, + "vendor_id" : 10730 + }, + "ignore" : false, + "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" : false, + "is_pointing_device" : true, + "product_id" : 613, + "vendor_id" : 76 + }, + "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" : 34304, + "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" : true, + "manipulate_caps_lock_led" : true, + "simple_modifications" : [ ], + "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" : 1031, + "vendor_id" : 4176 + }, + "ignore" : true, + "manipulate_caps_lock_led" : true, + "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" : 592, + "vendor_id" : 1452 + }, + "ignore" : false, + "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" : false, + "is_pointing_device" : true, + "product_id" : 50801, + "vendor_id" : 9583 + }, + "ignore" : false, + "manipulate_caps_lock_led" : 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" : [ { + "apple_vendor_keyboard_key_code" : "mission_control" + } ] + }, { + "from" : { + "key_code" : "f4" + }, + "to" : [ { + "apple_vendor_keyboard_key_code" : "spotlight" + } ] + }, { + "from" : { + "key_code" : "f5" + }, + "to" : [ { + "consumer_key_code" : "dictation" + } ] + }, { + "from" : { + "key_code" : "f6" + }, + "to" : [ { + "key_code" : "f6" + } ] + }, { + "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", + "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/private_dot_config/private_karabiner/private_karabiner.json b/private_dot_config/private_karabiner/private_karabiner.json new file mode 100644 index 0000000..d492d6c --- /dev/null +++ b/private_dot_config/private_karabiner/private_karabiner.json @@ -0,0 +1,1019 @@ +{ + "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, + "unsafe_ui" : false + }, + "profiles" : [ { + "complex_modifications" : { + "parameters" : { + "basic.simultaneous_threshold_milliseconds" : 50, + "basic.to_delayed_action_delay_milliseconds" : 500, + "basic.to_if_alone_timeout_milliseconds" : 350, + "basic.to_if_held_down_threshold_milliseconds" : 1500 + }, + "rules" : [ { + "description" : "pedals default", + "manipulators" : [ { + "from" : { + "key_code" : "f18" + }, + "to" : [ { + "pointing_button" : "button1" + } ], + "conditions" : [ { + "identifiers" : [ { + "vendor_id" : 10730, + "product_id" : 256 + } ], + "type" : "device_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "f19" + }, + "to" : [ { + "pointing_button" : "button3" + } ], + "conditions" : [ { + "identifiers" : [ { + "vendor_id" : 10730, + "product_id" : 256 + } ], + "type" : "device_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "f20" + }, + "to" : [ { + "pointing_button" : "button2" + } ], + "conditions" : [ { + "identifiers" : [ { + "vendor_id" : 10730, + "product_id" : 256 + } ], + "type" : "device_if" + } ], + "type" : "basic" + } ] + }, { + "description" : "Backslash<->Open_Bracket on Advantage2", + "manipulators" : [ { + "from" : { + "key_code" : "open_bracket" + }, + "to" : [ { + "key_code" : "5", + "modifiers" : [ "right_shift" ] + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + }, { + "type" : "frontmost_application_if", + "bundle_identifiers" : [ "^com\\.chekazuja\\.keykey$" ] + }, { + "identifiers" : [ { + "vendor_id" : 10730, + "product_id" : 258 + } ], + "type" : "device_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "open_bracket", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "8", + "modifiers" : [ "right_shift" ] + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + }, { + "type" : "frontmost_application_if", + "bundle_identifiers" : [ "^com\\.chekazuja\\.keykey$" ] + }, { + "identifiers" : [ { + "vendor_id" : 10730, + "product_id" : 258 + } ], + "type" : "device_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "open_bracket", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "backslash" + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + }, { + "type" : "frontmost_application_unless", + "bundle_identifiers" : [ "^com\\.chekazuja\\.keykey$" ] + }, { + "identifiers" : [ { + "vendor_id" : 10730, + "product_id" : 258 + } ], + "type" : "device_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "backslash", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "open_bracket" + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + }, { + "identifiers" : [ { + "vendor_id" : 10730, + "product_id" : 258 + } ], + "type" : "device_if" + } ], + "type" : "basic" + } ] + }, { + "description" : "Delete->Control on Advantage2", + "manipulators" : [ { + "from" : { + "key_code" : "delete_forward", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "left_control" + } ], + "conditions" : [ { + "identifiers" : [ { + "vendor_id" : 10730, + "product_id" : 258 + } ], + "type" : "device_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "equal_sign", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "grave_accent_and_tilde" + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + }, { + "identifiers" : [ { + "vendor_id" : 10730, + "product_id" : 258 + } ], + "type" : "device_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "grave_accent_and_tilde", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "equal_sign" + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + }, { + "identifiers" : [ { + "vendor_id" : 10730, + "product_id" : 258 + } ], + "type" : "device_if" + } ], + "type" : "basic" + } ] + }, { + "description" : "Alternative language switches: Lcmd->English, Rcmd->Russian, Rshift-> Russian", + "manipulators" : [ { + "to_if_alone" : [ { + "select_input_source" : { + "language" : "en" + } + } ], + "from" : { + "key_code" : "left_command" + }, + "to" : [ { + "key_code" : "left_command" + } ], + "type" : "basic" + }, { + "to_if_alone" : [ { + "select_input_source" : { + "language" : "ru" + } + } ], + "from" : { + "key_code" : "right_command" + }, + "to" : [ { + "key_code" : "right_command" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "t", + "modifiers" : { + "mandatory" : [ "right_command" ] + } + }, + "to" : [ { + "key_code" : "t", + "modifiers" : [ "right_command" ] + }, { + "select_input_source" : { + "language" : "en" + } + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "l", + "modifiers" : { + "mandatory" : [ "right_command" ] + } + }, + "to" : [ { + "key_code" : "l", + "modifiers" : [ "right_command" ] + }, { + "select_input_source" : { + "language" : "en" + } + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "t", + "modifiers" : { + "mandatory" : [ "left_command" ] + } + }, + "to" : [ { + "key_code" : "t", + "modifiers" : [ "left_command" ] + }, { + "select_input_source" : { + "language" : "en" + } + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "l", + "modifiers" : { + "mandatory" : [ "left_command" ] + } + }, + "to" : [ { + "key_code" : "l", + "modifiers" : [ "left_command" ] + }, { + "select_input_source" : { + "language" : "en" + } + } ], + "type" : "basic" + } ] + }, { + "description" : "Caps->Russian, LShift->English", + "manipulators" : [ { + "to_if_alone" : [ { + "select_input_source" : { + "language" : "en" + } + } ], + "from" : { + "key_code" : "left_shift", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "left_shift" + } ], + "type" : "basic" + }, { + "to_if_alone" : [ { + "select_input_source" : { + "language" : "en" + } + } ], + "to_after_key_up" : [ { + "set_variable" : { + "name" : "capskey", + "value" : 0 + } + } ], + "from" : { + "key_code" : "caps_lock", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "set_variable" : { + "name" : "capskey", + "value" : 1 + } + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + } ], + "type" : "basic" + }, { + "to_if_alone" : [ { + "select_input_source" : { + "language" : "ru" + } + } ], + "to_after_key_up" : [ { + "set_variable" : { + "name" : "capskey", + "value" : 0 + } + } ], + "from" : { + "key_code" : "caps_lock", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "set_variable" : { + "name" : "capskey", + "value" : 1 + } + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "en" + } ], + "type" : "input_source_if" + } ], + "type" : "basic" + } ] + }, { + "description" : "Tab as Hyper(⌘+⌥+^+⇧)", + "manipulators" : [ { + "to_if_alone" : [ { + "key_code" : "tab" + } ], + "from" : { + "key_code" : "tab" + }, + "to" : [ { + "key_code" : "left_shift", + "modifiers" : [ "left_command", "left_control", "left_option", "left_shift" ] + } ], + "conditions" : [ { + "name" : "left_command", + "value" : 1, + "type" : "variable_unless" + } ], + "type" : "basic" + } ] + }, { + "description" : "Caps+T to start Kitty, Caps+B->Bing, Caps+G->Bard, Caps+O->Poe, Caps+P->ChatGPT4, Caps+␣->AllGPT", + "manipulators" : [ { + "from" : { + "key_code" : "t" + }, + "to" : [ { + "shell_command" : "open -a '/Applications/kitty.app'" + }, { + "select_input_source" : { + "language" : "en" + } + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + }, { + "type" : "frontmost_application_unless", + "bundle_identifiers" : [ "^net\\.kovidgoyal\\.kitty$" ] + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "t" + }, + "to" : [ { + "key_code" : "t", + "modifiers" : [ "left_command" ] + }, { + "select_input_source" : { + "language" : "en" + } + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + }, { + "type" : "frontmost_application_if", + "bundle_identifiers" : [ "^net\\.kovidgoyal\\.kitty$" ] + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "a" + }, + "to" : [ { + "shell_command" : "open -a '/Applications/Arc.app'" + }, { + "select_input_source" : { + "language" : "en" + } + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "b" + }, + "to" : [ { + "shell_command" : "open -a '/Users/anton/Applications/Brave Browser Apps.localized/Bing AI.app'" + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "g" + }, + "to" : [ { + "shell_command" : "open -a '/Users/anton/Applications/Brave Browser Apps.localized/Bard.app'" + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "c" + }, + "to" : [ { + "shell_command" : "open -a '/Users/anton/Applications/Brave Browser Apps.localized/Claude.app'" + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "o" + }, + "to" : [ { + "shell_command" : "open -a '/Applications/Poe.app'" + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "p" + }, + "to" : [ { + "shell_command" : "open -a '/Users/anton/Applications/ChatGPT.app'" + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "v" + }, + "to" : [ { + "shell_command" : "open -a '/Users/anton/Applications/Vikunja.app'" + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "spacebar" + }, + "to" : [ { + "shell_command" : "open -a '/Users/anton/Applications/Brave Browser Apps.localized/GPT.app'" + } ], + "conditions" : [ { + "name" : "capskey", + "value" : 1, + "type" : "variable_if" + } ], + "type" : "basic" + } ] + }, { + "description" : "⌘W->⌘H in Safari ChatGPT app", + "manipulators" : [ { + "from" : { + "key_code" : "w", + "modifiers" : { + "mandatory" : [ "left_command" ] + } + }, + "to" : [ { + "key_code" : "h", + "modifiers" : [ "left_command" ] + } ], + "conditions" : [ { + "type" : "frontmost_application_if", + "bundle_identifiers" : [ "^com\\.apple\\.Safari\\.WebApp\\..+$" ] + } ], + "type" : "basic" + } ] + }, { + "description" : "Ropt->Comma", + "manipulators" : [ { + "to_if_alone" : [ { + "key_code" : "6", + "modifiers" : [ "right_shift" ] + } ], + "from" : { + "key_code" : "right_option", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "right_shift" + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + } ], + "type" : "basic" + }, { + "to_if_alone" : [ { + "key_code" : "comma" + } ], + "from" : { + "key_code" : "right_option", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "right_shift" + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "en" + } ], + "type" : "input_source_if" + } ], + "type" : "basic" + } ] + }, { + "description" : "Rshift->Comma", + "manipulators" : [ { + "to_if_alone" : [ { + "key_code" : "6", + "modifiers" : [ "right_shift" ] + } ], + "to_if_held_down" : [ { + "key_code" : "caps_lock" + } ], + "from" : { + "key_code" : "right_shift", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "right_shift" + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + } ], + "type" : "basic" + }, { + "to_if_alone" : [ { + "key_code" : "comma" + } ], + "to_if_held_down" : [ { + "key_code" : "caps_lock" + } ], + "from" : { + "key_code" : "right_shift", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "right_shift" + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "en" + } ], + "type" : "input_source_if" + } ], + "type" : "basic" + } ] + }, { + "description" : "Rcommand -> comma, but not on advantage", + "manipulators" : [ { + "to_if_alone" : [ { + "key_code" : "6", + "modifiers" : [ "right_shift" ] + } ], + "from" : { + "key_code" : "right_command", + "modifiers" : { + "optional" : [ "any" ] + } + }, + "to" : [ { + "key_code" : "right_command" + } ], + "conditions" : [ { + "input_sources" : [ { + "language" : "ru" + } ], + "type" : "input_source_if" + }, { + "identifiers" : [ { + "vendor_id" : 10730, + "product_id" : 258 + } ], + "type" : "device_unless" + } ], + "type" : "basic" + } ] + } ] + }, + "devices" : [ { + "disable_built_in_keyboard_if_exists" : false, + "fn_function_keys" : [ ], + "identifiers" : { + "is_keyboard" : true, + "is_pointing_device" : false, + "product_id" : 835, + "vendor_id" : 1452 + }, + "ignore" : false, + "manipulate_caps_lock_led" : true, + "simple_modifications" : [ ], + "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" : 835, + "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" : 258, + "vendor_id" : 10730 + }, + "ignore" : false, + "manipulate_caps_lock_led" : true, + "simple_modifications" : [ ], + "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" : 258, + "vendor_id" : 10730 + }, + "ignore" : false, + "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" : false, + "is_pointing_device" : true, + "product_id" : 613, + "vendor_id" : 76 + }, + "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" : 34304, + "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" : true, + "manipulate_caps_lock_led" : true, + "simple_modifications" : [ ], + "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" : 1031, + "vendor_id" : 4176 + }, + "ignore" : true, + "manipulate_caps_lock_led" : true, + "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" : 592, + "vendor_id" : 1452 + }, + "ignore" : false, + "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" : false, + "is_pointing_device" : true, + "product_id" : 50801, + "vendor_id" : 9583 + }, + "ignore" : false, + "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" : 256, + "vendor_id" : 10730 + }, + "ignore" : false, + "manipulate_caps_lock_led" : true, + "simple_modifications" : [ ], + "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" : 256, + "vendor_id" : 10730 + }, + "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" : 50504, + "vendor_id" : 1133 + }, + "ignore" : false, + "manipulate_caps_lock_led" : true, + "simple_modifications" : [ ], + "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" : 50504, + "vendor_id" : 1133 + }, + "ignore" : true, + "manipulate_caps_lock_led" : 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" : [ { + "apple_vendor_keyboard_key_code" : "mission_control" + } ] + }, { + "from" : { + "key_code" : "f4" + }, + "to" : [ { + "apple_vendor_keyboard_key_code" : "spotlight" + } ] + }, { + "from" : { + "key_code" : "f5" + }, + "to" : [ { + "consumer_key_code" : "dictation" + } ] + }, { + "from" : { + "key_code" : "f6" + }, + "to" : [ { + "key_code" : "f6" + } ] + }, { + "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", + "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