diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-01-24 20:35:27 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-01-24 20:35:27 +0900 |
| commit | c80a54e42b52ce297f0f2f71af23c562832025c7 (patch) | |
| tree | dcce8bb977a770f473325d48f6f70b21d9818a40 /mac/.config/karabiner/assets/complex_modifications | |
init
Diffstat (limited to 'mac/.config/karabiner/assets/complex_modifications')
4 files changed, 202 insertions, 0 deletions
diff --git a/mac/.config/karabiner/assets/complex_modifications/1700711318.json b/mac/.config/karabiner/assets/complex_modifications/1700711318.json new file mode 100644 index 0000000..970adb0 --- /dev/null +++ b/mac/.config/karabiner/assets/complex_modifications/1700711318.json @@ -0,0 +1,95 @@ +{ + "title": "fn twice -> change input source / fn hold -> iterm", + "author": "Ramiro Garcia (https://github.com/ranemirusG)", + "rules": [ + { + "description": "fn + ` -> iTerm", + "manipulators": [ + { + "type": "basic", + "from": { + "key_code": 53, + "modifiers": { "mandatory": ["fn"] } + }, + "to": [{ "shell_command": "open '/Applications/iTerm.app'" }] + } + ] + }, + { + "description": "Press twice fn to change input source & otherwise held_down and open iterm", + "manipulators": [ + { + "conditions": [ + { + "type": "variable_if", + "name": "fn pressed", + "value": 1 + } + ], + "type": "basic", + "from": { + "key_code": "fn", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [ + { + "repeat": false, + "key_code": "spacebar", + "modifiers": ["left_control", "left_alt"], + "lazy": true + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "fn", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [ + { + "set_variable": { + "name": "fn pressed", + "value": 1 + } + } + ], + "to_if_held_down": [ + { + "key_code": "fn" + } + ], + "parameters": { + "basic.to_if_held_down_threshold_milliseconds": 0 + }, + "to_delayed_action": { + "to_if_invoked": [ + { + "set_variable": { + "name": "fn pressed", + "value": 0 + } + } + ], + "to_if_canceled": [ + { + "set_variable": { + "name": "fn pressed", + "value": 0 + } + } + ] + } + } + ] + } + ] +} diff --git a/mac/.config/karabiner/assets/complex_modifications/1700983079.json b/mac/.config/karabiner/assets/complex_modifications/1700983079.json new file mode 100644 index 0000000..3bdfd01 --- /dev/null +++ b/mac/.config/karabiner/assets/complex_modifications/1700983079.json @@ -0,0 +1,62 @@ +{ + "title": "Use ctrl + hl to Switch Tabs in Chrome, Brave & Firefox", + "rules": [ + { + "description": "Use ctrl + hl to Switch Tabs in Chrome, Brave & Firefox", + "manipulators": [ + { + "type": "basic", + "from": { + "key_code": "h", + "modifiers": { + "mandatory": ["control"], + "optional": ["any"] + } + }, + "to": [ + { + "key_code": "left_arrow", + "modifiers": ["command", "option"] + } + ], + "conditions": [ + { + "type": "frontmost_application_if", + "bundle_identifiers": [ + "^com.google.Chrome", + "^com.brave.Browser", + "^org.mozilla.firefox" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "l", + "modifiers": { + "mandatory": ["control"], + "optional": ["any"] + } + }, + "to": [ + { + "key_code": "right_arrow", + "modifiers": ["command", "option"] + } + ], + "conditions": [ + { + "type": "frontmost_application_if", + "bundle_identifiers": [ + "^com.google.Chrome", + "^com.brave.Browser", + "^org.mozilla.firefox" + ] + } + ] + } + ] + } + ] +} diff --git a/mac/.config/karabiner/assets/complex_modifications/1704627767.json b/mac/.config/karabiner/assets/complex_modifications/1704627767.json new file mode 100644 index 0000000..71909d1 --- /dev/null +++ b/mac/.config/karabiner/assets/complex_modifications/1704627767.json @@ -0,0 +1,20 @@ +{ + "title": "Prevent unintended command-h hide window (rev 2)", + "rules": [ + { + "description": "Disable Cmd+H Hide (rev 2)", + "manipulators": [ + { + "type": "basic", + "description": "", + "from": { + "key_code": "h", + "modifiers": { + "mandatory": ["command"] + } + } + } + ] + } + ] +} diff --git a/mac/.config/karabiner/assets/complex_modifications/1704850809.json b/mac/.config/karabiner/assets/complex_modifications/1704850809.json new file mode 100644 index 0000000..2f3271f --- /dev/null +++ b/mac/.config/karabiner/assets/complex_modifications/1704850809.json @@ -0,0 +1,25 @@ +{ + "title": "esc = ctrl + c", + "rules": [ + { + "description": "Control + c => Escape", + "manipulators": [ + { + "from": { + "key_code": "c", + "modifiers": { + "mandatory": ["control"], + "optional": ["caps_lock", "option"] + } + }, + "to": [ + { + "key_code": "escape" + } + ], + "type": "basic" + } + ] + } + ] +} |
