config

Personal configuration.
git clone git://code.dwrz.net/config
Log | Files | Refs

commit 9f23b7c2ebda2d13af4bbb137a95ee787d50d969
parent 38c24d6cdb18fc285b0e901da94e2346ddb10aaa
Author: dwrz <dwrz@dwrz.net>
Date:   Tue, 31 Oct 2023 19:58:22 +0000

Add karabiner config

Diffstat:
Akarabiner/assets/complex_modifications/nav-layer.json | 134+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Akarabiner/assets/complex_modifications/numpad.json | 293+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 427 insertions(+), 0 deletions(-)

diff --git a/karabiner/assets/complex_modifications/nav-layer.json b/karabiner/assets/complex_modifications/nav-layer.json @@ -0,0 +1,134 @@ +{ + "title": "navigation layer", + "rules": [ + { + "description": "navigation layer", + "manipulators": [ + { + "from": { + "key_code": "caps_lock", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [ + { + "set_variable": { + "name": "caps_lock pressed", + "value": 1 + } + } + ], + "to_after_key_up": [ + { + "set_variable": { + "name": "caps_lock pressed", + "value": 0 + } + } + ], + "to_if_alone": [ + { + "key_code": "caps_lock" + } + ], + "type": "basic" + }, + { + "conditions": [ + { + "name": "caps_lock pressed", + "type": "variable_if", + "value": 1 + } + ], + "from": { + "key_code": "k", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "left_arrow" + } + ], + "type": "basic" + }, + { + "conditions": [ + { + "name": "caps_lock pressed", + "type": "variable_if", + "value": 1 + } + ], + "from": { + "key_code": "l", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "down_arrow" + } + ], + "type": "basic" + }, + { + "conditions": [ + { + "name": "caps_lock pressed", + "type": "variable_if", + "value": 1 + } + ], + "from": { + "key_code": "o", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "up_arrow" + } + ], + "type": "basic" + }, + { + "conditions": [ + { + "name": "caps_lock pressed", + "type": "variable_if", + "value": 1 + } + ], + "from": { + "key_code": "semicolon", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "right_arrow" + } + ], + "type": "basic" + } + ] + } + ] +} diff --git a/karabiner/assets/complex_modifications/numpad.json b/karabiner/assets/complex_modifications/numpad.json @@ -0,0 +1,293 @@ +{ + "title": "numpad layer", + "rules": [ + { + "description": "numpad layer", + "manipulators": [ + { + "from": { + "key_code": "caps_lock", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [ + { + "set_variable": { + "name": "caps_lock pressed", + "value": 1 + } + } + ], + "to_after_key_up": [ + { + "set_variable": { + "name": "caps_lock pressed", + "value": 0 + } + } + ], + "to_if_alone": [ + { + "key_code": "caps_lock" + } + ], + "type": "basic" + }, + { + "conditions": [ + { + "name": "caps_lock pressed", + "type": "variable_if", + "value": 1 + } + ], + "from": { + "key_code": "m", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "keypad_0" + } + ], + "type": "basic" + }, + { + "conditions": [ + { + "name": "caps_lock pressed", + "type": "variable_if", + "value": 1 + } + ], + "from": { + "key_code": "comma", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "keypad_1" + } + ], + "type": "basic" + }, + { + "conditions": [ + { + "name": "caps_lock pressed", + "type": "variable_if", + "value": 1 + } + ], + "from": { + "key_code": "period", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "keypad_2" + } + ], + "type": "basic" + }, + { + "conditions": [ + { + "name": "caps_lock pressed", + "type": "variable_if", + "value": 1 + } + ], + "from": { + "key_code": "slash", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "keypad_3" + } + ], + "type": "basic" + }, + { + "conditions": [ + { + "name": "caps_lock pressed", + "type": "variable_if", + "value": 1 + } + ], + "from": { + "key_code": "l", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "keypad_4" + } + ], + "type": "basic" + }, + { + "conditions": [ + { + "name": "caps_lock pressed", + "type": "variable_if", + "value": 1 + } + ], + "from": { + "key_code": "semicolon", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "keypad_5" + } + ], + "type": "basic" + }, + { + "conditions": [ + { + "name": "caps_lock pressed", + "type": "variable_if", + "value": 1 + } + ], + "from": { + "key_code": "quote", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "keypad_6" + } + ], + "type": "basic" + }, + { + "conditions": [ + { + "name": "caps_lock pressed", + "type": "variable_if", + "value": 1 + } + ], + "from": { + "key_code": "o", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "keypad_7" + } + ], + "type": "basic" + }, + { + "conditions": [ + { + "name": "caps_lock pressed", + "type": "variable_if", + "value": 1 + } + ], + "from": { + "key_code": "p", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "keypad_8" + } + ], + "type": "basic" + }, + { + "conditions": [ + { + "name": "caps_lock pressed", + "type": "variable_if", + "value": 1 + } + ], + "from": { + "key_code": "open_bracket", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "keypad_9" + } + ], + "type": "basic" + }, + { + "conditions": [ + { + "name": "caps_lock pressed", + "type": "variable_if", + "value": 1 + } + ], + "from": { + "key_code": "close_bracket", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "keypad_0" + } + ], + "type": "basic" + } + ] +}