From 251e547fb6110e7f81bbf8c3c9e16c12d7165f16 Mon Sep 17 00:00:00 2001 From: Ivar Fatland Date: Thu, 4 Dec 2025 10:09:56 +0100 Subject: [PATCH] latest carabiner --- .../automatic_backups/karabiner_20250327.json | 117 -------- .../automatic_backups/karabiner_20251128.json | 164 +++++++++++ karabiner/.config/karabiner/karabiner.json | 267 ++++++++---------- 3 files changed, 274 insertions(+), 274 deletions(-) delete mode 100644 karabiner/.config/karabiner/automatic_backups/karabiner_20250327.json create mode 100644 karabiner/.config/karabiner/automatic_backups/karabiner_20251128.json diff --git a/karabiner/.config/karabiner/automatic_backups/karabiner_20250327.json b/karabiner/.config/karabiner/automatic_backups/karabiner_20250327.json deleted file mode 100644 index 643072c..0000000 --- a/karabiner/.config/karabiner/automatic_backups/karabiner_20250327.json +++ /dev/null @@ -1,117 +0,0 @@ -{ - "profiles": [ - { - "complex_modifications": { - "rules": [ - { - "description": "dual purpose modifiers", - "manipulators": [ - { - "from": { - "key_code": "spacebar", - "modifiers": { "optional": ["any"] } - }, - "to": [ - { - "key_code": "left_shift", - "lazy": true - } - ], - "to_if_alone": [{ "key_code": "spacebar" }], - "type": "basic" - }, - { - "from": { - "key_code": "caps_lock", - "modifiers": { "optional": ["any"] } - }, - "to": [ - { - "key_code": "left_control", - "lazy": true - } - ], - "to_if_alone": [{ "key_code": "escape" }], - "type": "basic" - } - ] - }, - { - "description": "swap alt and cmd", - "manipulators": [ - { - "from": { "key_code": "left_option" }, - "to": [{ "key_code": "left_command" }], - "type": "basic" - }, - { - "from": { "key_code": "left_command" }, - "to": [{ "key_code": "left_option" }], - "type": "basic" - } - ] - } - ] - }, - "name": "KarabinerTS", - "selected": true, - "virtual_hid_keyboard": { "keyboard_type_v2": "iso" } - }, - { - "name": "Default profile", - "virtual_hid_keyboard": { - "country_code": 0, - "keyboard_type_v2": "ansi" - } - }, - { - "complex_modifications": { - "rules": [ - { - "description": "Caps Lock to ESC on tap/Left control on hold", - "manipulators": [ - { - "from": { - "key_code": "caps_lock", - "modifiers": { "optional": ["any"] } - }, - "to": [ - { - "key_code": "left_control", - "lazy": true - } - ], - "to_if_alone": [{ "key_code": "escape" }], - "type": "basic" - } - ] - }, - { - "description": "Space to shift on hold", - "manipulators": [ - { - "from": { - "key_code": "spacebar", - "modifiers": { "optional": ["any"] } - }, - "to": [ - { - "key_code": "left_shift", - "lazy": true - } - ], - "to_if_alone": [{ "key_code": "spacebar" }], - "type": "basic" - } - ] - } - ] - }, - "name": "Modified profile", - "virtual_hid_keyboard": { - "country_code": 0, - "keyboard_type_v2": "iso" - } - } - ] -} \ No newline at end of file diff --git a/karabiner/.config/karabiner/automatic_backups/karabiner_20251128.json b/karabiner/.config/karabiner/automatic_backups/karabiner_20251128.json new file mode 100644 index 0000000..d6abb45 --- /dev/null +++ b/karabiner/.config/karabiner/automatic_backups/karabiner_20251128.json @@ -0,0 +1,164 @@ +{ + "profiles": [ + { + "complex_modifications": { + "rules": [ + { + "description": "dual purpose modifiers", + "manipulators": [ + { + "type": "basic", + "from": { + "key_code": "spacebar", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [ + { + "lazy": true, + "key_code": "left_shift" + } + ], + "to_if_alone": [ + { + "key_code": "spacebar" + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "caps_lock", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [ + { + "lazy": true, + "key_code": "left_control" + } + ], + "to_if_alone": [ + { + "key_code": "escape" + } + ] + } + ] + } + ], + "parameters": { + "basic.to_if_alone_timeout_milliseconds": 1000, + "basic.to_if_held_down_threshold_milliseconds": 500, + "basic.to_delayed_action_delay_milliseconds": 500, + "basic.simultaneous_threshold_milliseconds": 50, + "mouse_motion_to_scroll.speed": 100 + } + }, + "devices": [ + { + "identifiers": { + "is_keyboard": true, + "product_id": 21042, + "vendor_id": 1155 + }, + "simple_modifications": [ + { + "from": { + "key_code": "grave_accent_and_tilde" + }, + "to": [ + { + "key_code": "non_us_backslash" + } + ] + } + ] + } + ], + "name": "KarabinerTS", + "selected": true, + "virtual_hid_keyboard": { + "keyboard_type_v2": "iso" + } + }, + { + "name": "Default profile", + "virtual_hid_keyboard": { + "country_code": 0, + "keyboard_type_v2": "ansi" + } + }, + { + "complex_modifications": { + "rules": [ + { + "description": "Caps Lock to ESC on tap/Left control on hold", + "manipulators": [ + { + "from": { + "key_code": "caps_lock", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "left_control", + "lazy": true + } + ], + "to_if_alone": [ + { + "key_code": "escape" + } + ], + "type": "basic" + } + ] + }, + { + "description": "Space to shift on hold", + "manipulators": [ + { + "from": { + "key_code": "spacebar", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "left_shift", + "lazy": true + } + ], + "to_if_alone": [ + { + "key_code": "spacebar" + } + ], + "type": "basic" + } + ] + } + ] + }, + "name": "Modified profile", + "virtual_hid_keyboard": { + "country_code": 0, + "keyboard_type_v2": "iso" + } + } + ] +} \ No newline at end of file diff --git a/karabiner/.config/karabiner/karabiner.json b/karabiner/.config/karabiner/karabiner.json index d6abb45..918b910 100644 --- a/karabiner/.config/karabiner/karabiner.json +++ b/karabiner/.config/karabiner/karabiner.json @@ -1,164 +1,117 @@ { - "profiles": [ - { - "complex_modifications": { - "rules": [ - { - "description": "dual purpose modifiers", - "manipulators": [ - { - "type": "basic", - "from": { - "key_code": "spacebar", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "lazy": true, - "key_code": "left_shift" - } - ], - "to_if_alone": [ - { - "key_code": "spacebar" - } - ] - }, - { - "type": "basic", - "from": { - "key_code": "caps_lock", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "lazy": true, - "key_code": "left_control" - } - ], - "to_if_alone": [ - { - "key_code": "escape" - } - ] - } - ] - } - ], - "parameters": { - "basic.to_if_alone_timeout_milliseconds": 1000, - "basic.to_if_held_down_threshold_milliseconds": 500, - "basic.to_delayed_action_delay_milliseconds": 500, - "basic.simultaneous_threshold_milliseconds": 50, - "mouse_motion_to_scroll.speed": 100 - } - }, - "devices": [ + "profiles": [ { - "identifiers": { - "is_keyboard": true, - "product_id": 21042, - "vendor_id": 1155 - }, - "simple_modifications": [ - { - "from": { - "key_code": "grave_accent_and_tilde" - }, - "to": [ + "complex_modifications": { + "rules": [ + { + "description": "dual purpose modifiers", + "manipulators": [ + { + "from": { + "key_code": "spacebar", + "modifiers": { "optional": ["any"] } + }, + "to": [ + { + "key_code": "left_shift", + "lazy": true + } + ], + "to_if_alone": [{ "key_code": "spacebar" }], + "type": "basic" + }, + { + "from": { + "key_code": "caps_lock", + "modifiers": { "optional": ["any"] } + }, + "to": [ + { + "key_code": "left_control", + "lazy": true + } + ], + "to_if_alone": [{ "key_code": "escape" }], + "type": "basic" + } + ] + } + ] + }, + "devices": [ { - "key_code": "non_us_backslash" + "identifiers": { + "is_keyboard": true, + "product_id": 21042, + "vendor_id": 1155 + }, + "simple_modifications": [ + { + "from": { "key_code": "grave_accent_and_tilde" }, + "to": [{ "key_code": "non_us_backslash" }] + } + ] } - ] + ], + "name": "KarabinerTS", + "selected": true, + "virtual_hid_keyboard": { "keyboard_type_v2": "iso" } + }, + { + "name": "Default profile", + "virtual_hid_keyboard": { + "country_code": 0, + "keyboard_type_v2": "ansi" + } + }, + { + "complex_modifications": { + "rules": [ + { + "description": "Caps Lock to ESC on tap/Left control on hold", + "manipulators": [ + { + "from": { + "key_code": "caps_lock", + "modifiers": { "optional": ["any"] } + }, + "to": [ + { + "key_code": "left_control", + "lazy": true + } + ], + "to_if_alone": [{ "key_code": "escape" }], + "type": "basic" + } + ] + }, + { + "description": "Space to shift on hold", + "manipulators": [ + { + "from": { + "key_code": "spacebar", + "modifiers": { "optional": ["any"] } + }, + "to": [ + { + "key_code": "left_shift", + "lazy": true + } + ], + "to_if_alone": [{ "key_code": "spacebar" }], + "type": "basic" + } + ] + } + ] + }, + "name": "Modified profile", + "virtual_hid_keyboard": { + "country_code": 0, + "keyboard_type_v2": "iso" } - ] } - ], - "name": "KarabinerTS", - "selected": true, - "virtual_hid_keyboard": { - "keyboard_type_v2": "iso" - } - }, - { - "name": "Default profile", - "virtual_hid_keyboard": { - "country_code": 0, - "keyboard_type_v2": "ansi" - } - }, - { - "complex_modifications": { - "rules": [ - { - "description": "Caps Lock to ESC on tap/Left control on hold", - "manipulators": [ - { - "from": { - "key_code": "caps_lock", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "left_control", - "lazy": true - } - ], - "to_if_alone": [ - { - "key_code": "escape" - } - ], - "type": "basic" - } - ] - }, - { - "description": "Space to shift on hold", - "manipulators": [ - { - "from": { - "key_code": "spacebar", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "left_shift", - "lazy": true - } - ], - "to_if_alone": [ - { - "key_code": "spacebar" - } - ], - "type": "basic" - } - ] - } - ] - }, - "name": "Modified profile", - "virtual_hid_keyboard": { - "country_code": 0, - "keyboard_type_v2": "iso" - } - } - ] + ] } \ No newline at end of file