Last active
June 18, 2025 14:32
-
-
Save TechPreacher/598a4ba227879142c75fcd7510166c03 to your computer and use it in GitHub Desktop.
My Karabiner-Elements configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "global": { "show_in_menu_bar": false }, | |
| "profiles": [ | |
| { | |
| "complex_modifications": { | |
| "rules": [ | |
| { | |
| "description": "Change double tap right ⇧ key to caps lock", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "name": "right_shift pressed", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "from": { | |
| "key_code": "right_shift", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "key_code": "caps_lock" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "right_shift", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [ | |
| { | |
| "set_variable": { | |
| "name": "right_shift pressed", | |
| "value": 1 | |
| } | |
| }, | |
| { "key_code": "right_shift" } | |
| ], | |
| "to_delayed_action": { | |
| "to_if_canceled": [ | |
| { | |
| "set_variable": { | |
| "name": "right_shift pressed", | |
| "value": 0 | |
| } | |
| } | |
| ], | |
| "to_if_invoked": [ | |
| { | |
| "set_variable": { | |
| "name": "right_shift pressed", | |
| "value": 0 | |
| } | |
| } | |
| ] | |
| }, | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Hyper Key (⌃⌥⇧⌘)", | |
| "manipulators": [ | |
| { | |
| "description": "Caps Lock -> Hyper Key", | |
| "from": { | |
| "key_code": "caps_lock", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [ | |
| { | |
| "set_variable": { | |
| "name": "hyper", | |
| "value": 1 | |
| } | |
| } | |
| ], | |
| "to_after_key_up": [ | |
| { | |
| "set_variable": { | |
| "name": "hyper", | |
| "value": 0 | |
| } | |
| } | |
| ], | |
| "to_if_alone": [{ "key_code": "delete_or_backspace" }], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Hyper Key sublayer \"b\"", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_a", | |
| "type": "variable_if", | |
| "value": 0 | |
| }, | |
| { | |
| "name": "hyper_sublayer_w", | |
| "type": "variable_if", | |
| "value": 0 | |
| }, | |
| { | |
| "name": "hyper_sublayer_s", | |
| "type": "variable_if", | |
| "value": 0 | |
| }, | |
| { | |
| "name": "hyper_sublayer_v", | |
| "type": "variable_if", | |
| "value": 0 | |
| }, | |
| { | |
| "name": "hyper_sublayer_c", | |
| "type": "variable_if", | |
| "value": 0 | |
| }, | |
| { | |
| "name": "hyper_sublayer_r", | |
| "type": "variable_if", | |
| "value": 0 | |
| }, | |
| { | |
| "name": "hyper", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "description": "Toggle Hyper sublayer b", | |
| "from": { | |
| "key_code": "b", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [ | |
| { | |
| "set_variable": { | |
| "name": "hyper_sublayer_b", | |
| "value": 1 | |
| } | |
| } | |
| ], | |
| "to_after_key_up": [ | |
| { | |
| "set_variable": { | |
| "name": "hyper_sublayer_b", | |
| "value": 0 | |
| } | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_b", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "description": "Open https://x.com", | |
| "from": { | |
| "key_code": "x", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "shell_command": "open https://x.com" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_b", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "description": "Open https://facebook.com", | |
| "from": { | |
| "key_code": "f", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "shell_command": "open https://facebook.com" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_b", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "description": "Open https://threads.net", | |
| "from": { | |
| "key_code": "t", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "shell_command": "open https://threads.net" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_b", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "description": "Open https://instagram.com", | |
| "from": { | |
| "key_code": "i", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "shell_command": "open https://instagram.com" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_b", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "description": "Open https://bsky.app", | |
| "from": { | |
| "key_code": "b", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "shell_command": "open https://bsky.app" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_b", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "description": "Open https://github.com", | |
| "from": { | |
| "key_code": "g", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "shell_command": "open https://github.com" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_b", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "description": "Open https://youtube.com", | |
| "from": { | |
| "key_code": "y", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "shell_command": "open https://youtube.com" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_b", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "description": "Open https://music.youtube.com", | |
| "from": { | |
| "key_code": "m", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "shell_command": "open https://music.youtube.com" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_b", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "description": "Open https://portal.azure.com", | |
| "from": { | |
| "key_code": "a", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "shell_command": "open https://portal.azure.com" }], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Hyper Key sublayer \"a\"", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_b", | |
| "type": "variable_if", | |
| "value": 0 | |
| }, | |
| { | |
| "name": "hyper_sublayer_w", | |
| "type": "variable_if", | |
| "value": 0 | |
| }, | |
| { | |
| "name": "hyper_sublayer_s", | |
| "type": "variable_if", | |
| "value": 0 | |
| }, | |
| { | |
| "name": "hyper_sublayer_v", | |
| "type": "variable_if", | |
| "value": 0 | |
| }, | |
| { | |
| "name": "hyper_sublayer_c", | |
| "type": "variable_if", | |
| "value": 0 | |
| }, | |
| { | |
| "name": "hyper_sublayer_r", | |
| "type": "variable_if", | |
| "value": 0 | |
| }, | |
| { | |
| "name": "hyper", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "description": "Toggle Hyper sublayer a", | |
| "from": { | |
| "key_code": "a", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [ | |
| { | |
| "set_variable": { | |
| "name": "hyper_sublayer_a", | |
| "value": 1 | |
| } | |
| } | |
| ], | |
| "to_after_key_up": [ | |
| { | |
| "set_variable": { | |
| "name": "hyper_sublayer_a", | |
| "value": 0 | |
| } | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_a", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "description": "Open -a '1Password.app'", | |
| "from": { | |
| "key_code": "1", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "shell_command": "open -a '1Password.app'" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_a", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "description": "Open -a 'ChatGPT.app'", | |
| "from": { | |
| "key_code": "c", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "shell_command": "open -a 'ChatGPT.app'" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_a", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "description": "Open -a 'Edge.app'", | |
| "from": { | |
| "key_code": "e", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "shell_command": "open -a 'Edge.app'" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_a", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "description": "Open -a 'Finder.app'", | |
| "from": { | |
| "key_code": "f", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "shell_command": "open -a 'Finder.app'" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_a", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "description": "Open -a 'Microsoft Outlook.app'", | |
| "from": { | |
| "key_code": "m", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "shell_command": "open -a 'Microsoft Outlook.app'" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_a", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "description": "Open -a 'Obsidian.app'", | |
| "from": { | |
| "key_code": "o", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "shell_command": "open -a 'Obsidian.app'" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_a", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "description": "Open -a 'Perplexity.app'", | |
| "from": { | |
| "key_code": "p", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "shell_command": "open -a 'Perplexity.app'" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_a", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "description": "Open -a 'Microsoft Teams.app'", | |
| "from": { | |
| "key_code": "t", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "shell_command": "open -a 'Microsoft Teams.app'" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_a", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "description": "Open -a 'Authenticator.app'", | |
| "from": { | |
| "key_code": "u", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "shell_command": "open -a 'Authenticator.app'" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_a", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "description": "Open -a 'Visual Studio Code.app'", | |
| "from": { | |
| "key_code": "v", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "shell_command": "open -a 'Visual Studio Code.app'" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_a", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "description": "Open -a 'Warp.app'", | |
| "from": { | |
| "key_code": "w", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "shell_command": "open -a 'Warp.app'" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_a", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "description": "Open -a 'Zed.app'", | |
| "from": { | |
| "key_code": "y", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "shell_command": "open -a 'Zed.app'" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_a", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "description": "Open -a 'Zen.app'", | |
| "from": { | |
| "key_code": "z", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "shell_command": "open -a 'Zen.app'" }], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Hyper Key sublayer \"w\"", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_b", | |
| "type": "variable_if", | |
| "value": 0 | |
| }, | |
| { | |
| "name": "hyper_sublayer_a", | |
| "type": "variable_if", | |
| "value": 0 | |
| }, | |
| { | |
| "name": "hyper_sublayer_s", | |
| "type": "variable_if", | |
| "value": 0 | |
| }, | |
| { | |
| "name": "hyper_sublayer_v", | |
| "type": "variable_if", | |
| "value": 0 | |
| }, | |
| { | |
| "name": "hyper_sublayer_c", | |
| "type": "variable_if", | |
| "value": 0 | |
| }, | |
| { | |
| "name": "hyper_sublayer_r", | |
| "type": "variable_if", | |
| "value": 0 | |
| }, | |
| { | |
| "name": "hyper", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "description": "Toggle Hyper sublayer w", | |
| "from": { | |
| "key_code": "w", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [ | |
| { | |
| "set_variable": { | |
| "name": "hyper_sublayer_w", | |
| "value": 1 | |
| } | |
| } | |
| ], | |
| "to_after_key_up": [ | |
| { | |
| "set_variable": { | |
| "name": "hyper_sublayer_w", | |
| "value": 0 | |
| } | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_w", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "description": "Window: Hide", | |
| "from": { | |
| "key_code": "semicolon", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "h", | |
| "modifiers": ["right_command"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_w", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "description": "Window: previous-display", | |
| "from": { | |
| "key_code": "y", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "shell_command": "open -g raycast://extensions/raycast/window-management/previous-display" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_w", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "description": "Window: next-display", | |
| "from": { | |
| "key_code": "o", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "shell_command": "open -g raycast://extensions/raycast/window-management/next-display" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_w", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "description": "Window: top-half", | |
| "from": { | |
| "key_code": "k", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "shell_command": "open -g raycast://extensions/raycast/window-management/top-half" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_w", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "description": "Window: bottom-half", | |
| "from": { | |
| "key_code": "j", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "shell_command": "open -g raycast://extensions/raycast/window-management/bottom-half" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_w", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "description": "Window: left-half", | |
| "from": { | |
| "key_code": "h", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "shell_command": "open -g raycast://extensions/raycast/window-management/left-half" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_w", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "description": "Window: right-half", | |
| "from": { | |
| "key_code": "l", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "shell_command": "open -g raycast://extensions/raycast/window-management/right-half" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_w", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "description": "Window: maximize", | |
| "from": { | |
| "key_code": "r", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "shell_command": "open -g raycast://extensions/raycast/window-management/maximize" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_w", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "description": "Window: almost-maximize", | |
| "from": { | |
| "key_code": "f", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "shell_command": "open -g raycast://extensions/raycast/window-management/almost-maximize" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_w", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "description": "Window: Previous Tab", | |
| "from": { | |
| "key_code": "u", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "tab", | |
| "modifiers": ["right_control", "right_shift"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_w", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "description": "Window: Next Tab", | |
| "from": { | |
| "key_code": "i", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "tab", | |
| "modifiers": ["right_control"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_w", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "description": "Window: Next Window", | |
| "from": { | |
| "key_code": "n", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "grave_accent_and_tilde", | |
| "modifiers": ["right_command"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_w", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "description": "Window: Back", | |
| "from": { | |
| "key_code": "b", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "open_bracket", | |
| "modifiers": ["right_command"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_w", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "description": "Window: Forward", | |
| "from": { | |
| "key_code": "m", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "close_bracket", | |
| "modifiers": ["right_command"] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Hyper Key sublayer \"s\"", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_b", | |
| "type": "variable_if", | |
| "value": 0 | |
| }, | |
| { | |
| "name": "hyper_sublayer_a", | |
| "type": "variable_if", | |
| "value": 0 | |
| }, | |
| { | |
| "name": "hyper_sublayer_w", | |
| "type": "variable_if", | |
| "value": 0 | |
| }, | |
| { | |
| "name": "hyper_sublayer_v", | |
| "type": "variable_if", | |
| "value": 0 | |
| }, | |
| { | |
| "name": "hyper_sublayer_c", | |
| "type": "variable_if", | |
| "value": 0 | |
| }, | |
| { | |
| "name": "hyper_sublayer_r", | |
| "type": "variable_if", | |
| "value": 0 | |
| }, | |
| { | |
| "name": "hyper", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "description": "Toggle Hyper sublayer s", | |
| "from": { | |
| "key_code": "s", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [ | |
| { | |
| "set_variable": { | |
| "name": "hyper_sublayer_s", | |
| "value": 1 | |
| } | |
| } | |
| ], | |
| "to_after_key_up": [ | |
| { | |
| "set_variable": { | |
| "name": "hyper_sublayer_s", | |
| "value": 0 | |
| } | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_s", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "from": { | |
| "key_code": "u", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "key_code": "volume_increment" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_s", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "from": { | |
| "key_code": "j", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "key_code": "volume_decrement" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_s", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "from": { | |
| "key_code": "i", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "key_code": "display_brightness_increment" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_s", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "from": { | |
| "key_code": "k", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "key_code": "display_brightness_decrement" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_s", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "from": { | |
| "key_code": "l", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "q", | |
| "modifiers": ["right_control", "right_command"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_s", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "from": { | |
| "key_code": "p", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "key_code": "play_or_pause" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_s", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "from": { | |
| "key_code": "semicolon", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "key_code": "fastforward" }], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Hyper Key sublayer \"v\"", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_b", | |
| "type": "variable_if", | |
| "value": 0 | |
| }, | |
| { | |
| "name": "hyper_sublayer_a", | |
| "type": "variable_if", | |
| "value": 0 | |
| }, | |
| { | |
| "name": "hyper_sublayer_w", | |
| "type": "variable_if", | |
| "value": 0 | |
| }, | |
| { | |
| "name": "hyper_sublayer_s", | |
| "type": "variable_if", | |
| "value": 0 | |
| }, | |
| { | |
| "name": "hyper_sublayer_c", | |
| "type": "variable_if", | |
| "value": 0 | |
| }, | |
| { | |
| "name": "hyper_sublayer_r", | |
| "type": "variable_if", | |
| "value": 0 | |
| }, | |
| { | |
| "name": "hyper", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "description": "Toggle Hyper sublayer v", | |
| "from": { | |
| "key_code": "v", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [ | |
| { | |
| "set_variable": { | |
| "name": "hyper_sublayer_v", | |
| "value": 1 | |
| } | |
| } | |
| ], | |
| "to_after_key_up": [ | |
| { | |
| "set_variable": { | |
| "name": "hyper_sublayer_v", | |
| "value": 0 | |
| } | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_v", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "from": { | |
| "key_code": "h", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "key_code": "left_arrow" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_v", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "from": { | |
| "key_code": "j", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "key_code": "down_arrow" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_v", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "from": { | |
| "key_code": "k", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "key_code": "up_arrow" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_v", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "from": { | |
| "key_code": "l", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "key_code": "right_arrow" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_v", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "from": { | |
| "key_code": "u", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "key_code": "page_up" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_v", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "from": { | |
| "key_code": "i", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "key_code": "page_down" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_v", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "from": { | |
| "key_code": "y", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "key_code": "home" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_v", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "from": { | |
| "key_code": "o", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "key_code": "end" }], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Hyper Key sublayer \"c\"", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_b", | |
| "type": "variable_if", | |
| "value": 0 | |
| }, | |
| { | |
| "name": "hyper_sublayer_a", | |
| "type": "variable_if", | |
| "value": 0 | |
| }, | |
| { | |
| "name": "hyper_sublayer_w", | |
| "type": "variable_if", | |
| "value": 0 | |
| }, | |
| { | |
| "name": "hyper_sublayer_s", | |
| "type": "variable_if", | |
| "value": 0 | |
| }, | |
| { | |
| "name": "hyper_sublayer_v", | |
| "type": "variable_if", | |
| "value": 0 | |
| }, | |
| { | |
| "name": "hyper_sublayer_r", | |
| "type": "variable_if", | |
| "value": 0 | |
| }, | |
| { | |
| "name": "hyper", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "description": "Toggle Hyper sublayer c", | |
| "from": { | |
| "key_code": "c", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [ | |
| { | |
| "set_variable": { | |
| "name": "hyper_sublayer_c", | |
| "value": 1 | |
| } | |
| } | |
| ], | |
| "to_after_key_up": [ | |
| { | |
| "set_variable": { | |
| "name": "hyper_sublayer_c", | |
| "value": 0 | |
| } | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_c", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "from": { | |
| "key_code": "p", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "key_code": "play_or_pause" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_c", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "from": { | |
| "key_code": "n", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "key_code": "fastforward" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_c", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "from": { | |
| "key_code": "b", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "key_code": "rewind" }], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Hyper Key sublayer \"r\"", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_b", | |
| "type": "variable_if", | |
| "value": 0 | |
| }, | |
| { | |
| "name": "hyper_sublayer_a", | |
| "type": "variable_if", | |
| "value": 0 | |
| }, | |
| { | |
| "name": "hyper_sublayer_w", | |
| "type": "variable_if", | |
| "value": 0 | |
| }, | |
| { | |
| "name": "hyper_sublayer_s", | |
| "type": "variable_if", | |
| "value": 0 | |
| }, | |
| { | |
| "name": "hyper_sublayer_v", | |
| "type": "variable_if", | |
| "value": 0 | |
| }, | |
| { | |
| "name": "hyper_sublayer_c", | |
| "type": "variable_if", | |
| "value": 0 | |
| }, | |
| { | |
| "name": "hyper", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "description": "Toggle Hyper sublayer r", | |
| "from": { | |
| "key_code": "r", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [ | |
| { | |
| "set_variable": { | |
| "name": "hyper_sublayer_r", | |
| "value": 1 | |
| } | |
| } | |
| ], | |
| "to_after_key_up": [ | |
| { | |
| "set_variable": { | |
| "name": "hyper_sublayer_r", | |
| "value": 0 | |
| } | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_r", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "description": "Open raycast://extensions/raycast/emoji-symbols/search-emoji-symbols", | |
| "from": { | |
| "key_code": "e", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "shell_command": "open raycast://extensions/raycast/emoji-symbols/search-emoji-symbols" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_r", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "description": "Open raycast://extensions/raycast/raycast/confetti", | |
| "from": { | |
| "key_code": "p", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "shell_command": "open raycast://extensions/raycast/raycast/confetti" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_r", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "description": "Open raycast://extensions/raycast/raycast-ai/ai-chat", | |
| "from": { | |
| "key_code": "a", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "shell_command": "open raycast://extensions/raycast/raycast-ai/ai-chat" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_r", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "description": "Open raycast://extensions/raycast/clipboard-history/clipboard-history", | |
| "from": { | |
| "key_code": "h", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "shell_command": "open raycast://extensions/raycast/clipboard-history/clipboard-history" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "hyper_sublayer_r", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "description": "Open raycast://extensions/raycast/system/show-desktop", | |
| "from": { | |
| "key_code": "d", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "shell_command": "open raycast://extensions/raycast/system/show-desktop" }], | |
| "type": "basic" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "fn_function_keys": [ | |
| { | |
| "from": { "key_code": "f6" }, | |
| "to": [{ "software_function": { "iokit_power_management_sleep_system": {} } }] | |
| } | |
| ], | |
| "name": "Sascha Hyper Keys V4", | |
| "selected": true, | |
| "simple_modifications": [ | |
| { | |
| "from": { "key_code": "right_option" }, | |
| "to": [{ "pointing_button": "button3" }] | |
| } | |
| ], | |
| "virtual_hid_keyboard": { "keyboard_type_v2": "ansi" } | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment