]> git.r.bdr.sh - rbdr/dotfiles/commitdiff
Update karabiner config
authorRuben Beltran del Rio <redacted>
Thu, 24 Jun 2021 13:33:14 +0000 (15:33 +0200)
committerRuben Beltran del Rio <redacted>
Thu, 24 Jun 2021 13:33:14 +0000 (15:33 +0200)
config/karabiner/assets/complex_modifications/1614862916.json [new file with mode: 0644]
config/karabiner/automatic_backups/karabiner_20210304.json [new file with mode: 0644]
config/karabiner/karabiner.json

diff --git a/config/karabiner/assets/complex_modifications/1614862916.json b/config/karabiner/assets/complex_modifications/1614862916.json
new file mode 100644 (file)
index 0000000..f380d65
--- /dev/null
@@ -0,0 +1 @@
+{"title":"Insert to Ctrl+Cmd+Alt+N","rules":[{"description":"Insert to Ctrl+Cmd+Alt+N","manipulators":[{"type":"basic","from":{"key_code":"insert"},"to":[{"repeat":true,"key_code":"n","modifiers":["left_control","left_alt","left_gui"]}]}]}]}
\ No newline at end of file
diff --git a/config/karabiner/automatic_backups/karabiner_20210304.json b/config/karabiner/automatic_backups/karabiner_20210304.json
new file mode 100644 (file)
index 0000000..8179590
--- /dev/null
@@ -0,0 +1,253 @@
+{
+    "global": {
+        "check_for_updates_on_startup": true,
+        "show_in_menu_bar": true,
+        "show_profile_name_in_menu_bar": false
+    },
+    "profiles": [
+        {
+            "complex_modifications": {
+                "parameters": {
+                    "basic.simultaneous_threshold_milliseconds": 50,
+                    "basic.to_delayed_action_delay_milliseconds": 500,
+                    "basic.to_if_alone_timeout_milliseconds": 1000,
+                    "basic.to_if_held_down_threshold_milliseconds": 500,
+                    "mouse_motion_to_scroll.speed": 100
+                },
+                "rules": [
+                    {
+                        "description": "print_screen to command+shift+4",
+                        "manipulators": [
+                            {
+                                "from": {
+                                    "key_code": "print_screen"
+                                },
+                                "to": [
+                                    {
+                                        "key_code": "4",
+                                        "modifiers": [
+                                            "left_gui",
+                                            "left_shift"
+                                        ],
+                                        "repeat": false
+                                    }
+                                ],
+                                "type": "basic"
+                            }
+                        ]
+                    },
+                    {
+                        "description": "pause to ctrl+command+q",
+                        "manipulators": [
+                            {
+                                "from": {
+                                    "key_code": "pause"
+                                },
+                                "to": [
+                                    {
+                                        "key_code": "q",
+                                        "modifiers": [
+                                            "left_gui",
+                                            "left_control"
+                                        ],
+                                        "repeat": false
+                                    }
+                                ],
+                                "type": "basic"
+                            }
+                        ]
+                    }
+                ]
+            },
+            "devices": [
+                {
+                    "disable_built_in_keyboard_if_exists": false,
+                    "fn_function_keys": [],
+                    "identifiers": {
+                        "is_keyboard": true,
+                        "is_pointing_device": false,
+                        "product_id": 25903,
+                        "vendor_id": 3141
+                    },
+                    "ignore": false,
+                    "manipulate_caps_lock_led": false,
+                    "simple_modifications": [
+                        {
+                            "from": {
+                                "key_code": "left_command"
+                            },
+                            "to": [
+                                {
+                                    "key_code": "left_option"
+                                }
+                            ]
+                        },
+                        {
+                            "from": {
+                                "key_code": "left_option"
+                            },
+                            "to": [
+                                {
+                                    "key_code": "left_command"
+                                }
+                            ]
+                        },
+                        {
+                            "from": {
+                                "key_code": "application"
+                            },
+                            "to": [
+                                {
+                                    "key_code": "right_option"
+                                }
+                            ]
+                        },
+                        {
+                            "from": {
+                                "key_code": "right_option"
+                            },
+                            "to": [
+                                {
+                                    "key_code": "right_command"
+                                }
+                            ]
+                        }
+                    ]
+                }
+            ],
+            "fn_function_keys": [
+                {
+                    "from": {
+                        "key_code": "f1"
+                    },
+                    "to": [
+                        {
+                            "consumer_key_code": "display_brightness_decrement"
+                        }
+                    ]
+                },
+                {
+                    "from": {
+                        "key_code": "f2"
+                    },
+                    "to": [
+                        {
+                            "consumer_key_code": "display_brightness_increment"
+                        }
+                    ]
+                },
+                {
+                    "from": {
+                        "key_code": "f3"
+                    },
+                    "to": [
+                        {
+                            "key_code": "mission_control"
+                        }
+                    ]
+                },
+                {
+                    "from": {
+                        "key_code": "f4"
+                    },
+                    "to": [
+                        {
+                            "key_code": "launchpad"
+                        }
+                    ]
+                },
+                {
+                    "from": {
+                        "key_code": "f5"
+                    },
+                    "to": [
+                        {
+                            "key_code": "illumination_decrement"
+                        }
+                    ]
+                },
+                {
+                    "from": {
+                        "key_code": "f6"
+                    },
+                    "to": [
+                        {
+                            "key_code": "illumination_increment"
+                        }
+                    ]
+                },
+                {
+                    "from": {
+                        "key_code": "f7"
+                    },
+                    "to": [
+                        {
+                            "consumer_key_code": "rewind"
+                        }
+                    ]
+                },
+                {
+                    "from": {
+                        "key_code": "f8"
+                    },
+                    "to": [
+                        {
+                            "consumer_key_code": "play_or_pause"
+                        }
+                    ]
+                },
+                {
+                    "from": {
+                        "key_code": "f9"
+                    },
+                    "to": [
+                        {
+                            "consumer_key_code": "fast_forward"
+                        }
+                    ]
+                },
+                {
+                    "from": {
+                        "key_code": "f10"
+                    },
+                    "to": [
+                        {
+                            "consumer_key_code": "mute"
+                        }
+                    ]
+                },
+                {
+                    "from": {
+                        "key_code": "f11"
+                    },
+                    "to": [
+                        {
+                            "consumer_key_code": "volume_decrement"
+                        }
+                    ]
+                },
+                {
+                    "from": {
+                        "key_code": "f12"
+                    },
+                    "to": [
+                        {
+                            "consumer_key_code": "volume_increment"
+                        }
+                    ]
+                }
+            ],
+            "name": "Default profile",
+            "parameters": {
+                "delay_milliseconds_before_open_device": 1000
+            },
+            "selected": true,
+            "simple_modifications": [],
+            "virtual_hid_keyboard": {
+                "country_code": 0,
+                "indicate_sticky_modifier_keys_state": true,
+                "mouse_key_xy_scale": 100
+            }
+        }
+    ]
+}
\ No newline at end of file
index 8179590888399103b00e3b0cf035441075f46035..d792efc18219f0ff14597c252068862b4228bf43 100644 (file)
                                 "type": "basic"
                             }
                         ]
                                 "type": "basic"
                             }
                         ]
+                    },
+                    {
+                        "description": "Insert to Ctrl+Cmd+Alt+N",
+                        "manipulators": [
+                            {
+                                "from": {
+                                    "key_code": "insert"
+                                },
+                                "to": [
+                                    {
+                                        "key_code": "n",
+                                        "modifiers": [
+                                            "left_control",
+                                            "left_alt",
+                                            "left_gui"
+                                        ],
+                                        "repeat": true
+                                    }
+                                ],
+                                "type": "basic"
+                            }
+                        ]
                     }
                 ]
             },
                     }
                 ]
             },
                     "simple_modifications": [
                         {
                             "from": {
                     "simple_modifications": [
                         {
                             "from": {
-                                "key_code": "left_command"
+                                "key_code": "application"
                             },
                             "to": [
                                 {
                             },
                             "to": [
                                 {
-                                    "key_code": "left_option"
+                                    "key_code": "right_option"
                                 }
                             ]
                         },
                         {
                             "from": {
                                 }
                             ]
                         },
                         {
                             "from": {
-                                "key_code": "left_option"
+                                "key_code": "left_command"
                             },
                             "to": [
                                 {
                             },
                             "to": [
                                 {
-                                    "key_code": "left_command"
+                                    "key_code": "left_option"
                                 }
                             ]
                         },
                         {
                             "from": {
                                 }
                             ]
                         },
                         {
                             "from": {
-                                "key_code": "application"
+                                "key_code": "left_option"
                             },
                             "to": [
                                 {
                             },
                             "to": [
                                 {
-                                    "key_code": "right_option"
+                                    "key_code": "left_command"
                                 }
                             ]
                         },
                                 }
                             ]
                         },