replace kitty with wezterm
This commit is contained in:
+197
-391
@@ -1,7 +1,5 @@
|
|||||||
{
|
{
|
||||||
"global": {
|
"global": { "show_in_menu_bar": false },
|
||||||
"show_in_menu_bar": false
|
|
||||||
},
|
|
||||||
"profiles": [
|
"profiles": [
|
||||||
{
|
{
|
||||||
"complex_modifications": {
|
"complex_modifications": {
|
||||||
@@ -21,11 +19,7 @@
|
|||||||
"modifiers": ["left_command", "left_control", "left_option"]
|
"modifiers": ["left_command", "left_control", "left_option"]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"to_if_alone": [
|
"to_if_alone": [{ "key_code": "escape" }],
|
||||||
{
|
|
||||||
"key_code": "escape"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"type": "basic"
|
"type": "basic"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -34,14 +28,8 @@
|
|||||||
"description": "left_command -> cmd+c if pressed alone",
|
"description": "left_command -> cmd+c if pressed alone",
|
||||||
"manipulators": [
|
"manipulators": [
|
||||||
{
|
{
|
||||||
"from": {
|
"from": { "key_code": "left_command" },
|
||||||
"key_code": "left_command"
|
"to": [{ "key_code": "left_command" }],
|
||||||
},
|
|
||||||
"to": [
|
|
||||||
{
|
|
||||||
"key_code": "left_command"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"to_if_alone": [
|
"to_if_alone": [
|
||||||
{
|
{
|
||||||
"key_code": "c",
|
"key_code": "c",
|
||||||
@@ -56,14 +44,8 @@
|
|||||||
"description": "left_option -> cmd+v if pressed alone",
|
"description": "left_option -> cmd+v if pressed alone",
|
||||||
"manipulators": [
|
"manipulators": [
|
||||||
{
|
{
|
||||||
"from": {
|
"from": { "key_code": "left_option" },
|
||||||
"key_code": "left_option"
|
"to": [{ "key_code": "left_option" }],
|
||||||
},
|
|
||||||
"to": [
|
|
||||||
{
|
|
||||||
"key_code": "left_option"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"to_if_alone": [
|
"to_if_alone": [
|
||||||
{
|
{
|
||||||
"key_code": "v",
|
"key_code": "v",
|
||||||
@@ -78,19 +60,31 @@
|
|||||||
"description": "Hyper Key sublayer \"a\"",
|
"description": "Hyper Key sublayer \"a\"",
|
||||||
"manipulators": [
|
"manipulators": [
|
||||||
{
|
{
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"name": "hyper_sublayer_r",
|
||||||
|
"type": "variable_if",
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "hyper_sublayer_w",
|
||||||
|
"type": "variable_if",
|
||||||
|
"value": 0
|
||||||
|
}
|
||||||
|
],
|
||||||
"description": "Toggle Hyper sublayer a",
|
"description": "Toggle Hyper sublayer a",
|
||||||
"type": "basic",
|
|
||||||
"from": {
|
"from": {
|
||||||
"key_code": "a",
|
"key_code": "a",
|
||||||
"modifiers": {
|
"modifiers": { "mandatory": ["left_command", "left_control", "left_shift", "left_option"] }
|
||||||
"mandatory": [
|
|
||||||
"left_command",
|
|
||||||
"left_control",
|
|
||||||
"left_shift",
|
|
||||||
"left_option"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
"to": [
|
||||||
|
{
|
||||||
|
"set_variable": {
|
||||||
|
"name": "hyper_sublayer_a",
|
||||||
|
"value": 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
"to_after_key_up": [
|
"to_after_key_up": [
|
||||||
{
|
{
|
||||||
"set_variable": {
|
"set_variable": {
|
||||||
@@ -99,202 +93,135 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"to": [
|
"type": "basic"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"set_variable": {
|
|
||||||
"name": "hyper_sublayer_a",
|
|
||||||
"value": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"conditions": [
|
"conditions": [
|
||||||
{
|
{
|
||||||
|
"name": "hyper_sublayer_a",
|
||||||
"type": "variable_if",
|
"type": "variable_if",
|
||||||
"name": "hyper_sublayer_r",
|
"value": 1
|
||||||
"value": 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "variable_if",
|
|
||||||
"name": "hyper_sublayer_w",
|
|
||||||
"value": 0
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"to": [
|
|
||||||
{
|
|
||||||
"shell_command": "open -a 'kitty.app'"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"description": "Open kitty",
|
"description": "Open wezterm",
|
||||||
"type": "basic",
|
|
||||||
"from": {
|
"from": {
|
||||||
"key_code": "h",
|
"key_code": "h",
|
||||||
"modifiers": {
|
"modifiers": { "mandatory": ["any"] }
|
||||||
"mandatory": ["any"]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
"to": [{ "shell_command": "open -a 'Wezterm.app'" }],
|
||||||
|
"type": "basic"
|
||||||
|
},
|
||||||
|
{
|
||||||
"conditions": [
|
"conditions": [
|
||||||
{
|
{
|
||||||
"type": "variable_if",
|
|
||||||
"name": "hyper_sublayer_a",
|
"name": "hyper_sublayer_a",
|
||||||
|
"type": "variable_if",
|
||||||
"value": 1
|
"value": 1
|
||||||
}
|
}
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"to": [
|
|
||||||
{
|
|
||||||
"shell_command": "open -a 'Microsoft Edge.app'"
|
|
||||||
}
|
|
||||||
],
|
],
|
||||||
"description": "Open browser",
|
"description": "Open browser",
|
||||||
"type": "basic",
|
|
||||||
"from": {
|
"from": {
|
||||||
"key_code": "j",
|
"key_code": "j",
|
||||||
"modifiers": {
|
"modifiers": { "mandatory": ["any"] }
|
||||||
"mandatory": ["any"]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
"to": [{ "shell_command": "open -a 'Microsoft Edge.app'" }],
|
||||||
|
"type": "basic"
|
||||||
|
},
|
||||||
|
{
|
||||||
"conditions": [
|
"conditions": [
|
||||||
{
|
{
|
||||||
"type": "variable_if",
|
|
||||||
"name": "hyper_sublayer_a",
|
"name": "hyper_sublayer_a",
|
||||||
|
"type": "variable_if",
|
||||||
"value": 1
|
"value": 1
|
||||||
}
|
}
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"to": [
|
|
||||||
{
|
|
||||||
"shell_command": "open -a 'Mail.app'"
|
|
||||||
}
|
|
||||||
],
|
],
|
||||||
"description": "Open email",
|
"description": "Open email",
|
||||||
"type": "basic",
|
|
||||||
"from": {
|
"from": {
|
||||||
"key_code": "k",
|
"key_code": "k",
|
||||||
"modifiers": {
|
"modifiers": { "mandatory": ["any"] }
|
||||||
"mandatory": ["any"]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
"to": [{ "shell_command": "open -a 'Mail.app'" }],
|
||||||
|
"type": "basic"
|
||||||
|
},
|
||||||
|
{
|
||||||
"conditions": [
|
"conditions": [
|
||||||
{
|
{
|
||||||
"type": "variable_if",
|
|
||||||
"name": "hyper_sublayer_a",
|
"name": "hyper_sublayer_a",
|
||||||
|
"type": "variable_if",
|
||||||
"value": 1
|
"value": 1
|
||||||
}
|
}
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"to": [
|
|
||||||
{
|
|
||||||
"shell_command": "open -a 'Messages.app'"
|
|
||||||
}
|
|
||||||
],
|
],
|
||||||
"description": "Open iMessage",
|
"description": "Open iMessage",
|
||||||
"type": "basic",
|
|
||||||
"from": {
|
"from": {
|
||||||
"key_code": "l",
|
"key_code": "l",
|
||||||
"modifiers": {
|
"modifiers": { "mandatory": ["any"] }
|
||||||
"mandatory": ["any"]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
"to": [{ "shell_command": "open -a 'Messages.app'" }],
|
||||||
|
"type": "basic"
|
||||||
|
},
|
||||||
|
{
|
||||||
"conditions": [
|
"conditions": [
|
||||||
{
|
{
|
||||||
"type": "variable_if",
|
|
||||||
"name": "hyper_sublayer_a",
|
"name": "hyper_sublayer_a",
|
||||||
|
"type": "variable_if",
|
||||||
"value": 1
|
"value": 1
|
||||||
}
|
}
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"to": [
|
|
||||||
{
|
|
||||||
"shell_command": "open -a Reminders.app"
|
|
||||||
}
|
|
||||||
],
|
],
|
||||||
"description": "open Reminders",
|
"description": "open Reminders",
|
||||||
"type": "basic",
|
|
||||||
"from": {
|
"from": {
|
||||||
"key_code": "y",
|
"key_code": "y",
|
||||||
"modifiers": {
|
"modifiers": { "mandatory": ["any"] }
|
||||||
"mandatory": ["any"]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
"to": [{ "shell_command": "open -a Reminders.app" }],
|
||||||
|
"type": "basic"
|
||||||
|
},
|
||||||
|
{
|
||||||
"conditions": [
|
"conditions": [
|
||||||
{
|
{
|
||||||
"type": "variable_if",
|
|
||||||
"name": "hyper_sublayer_a",
|
"name": "hyper_sublayer_a",
|
||||||
|
"type": "variable_if",
|
||||||
"value": 1
|
"value": 1
|
||||||
}
|
}
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"to": [
|
|
||||||
{
|
|
||||||
"shell_command": "unused"
|
|
||||||
}
|
|
||||||
],
|
],
|
||||||
"description": "unused",
|
"description": "unused",
|
||||||
"type": "basic",
|
|
||||||
"from": {
|
"from": {
|
||||||
"key_code": "u",
|
"key_code": "u",
|
||||||
"modifiers": {
|
"modifiers": { "mandatory": ["any"] }
|
||||||
"mandatory": ["any"]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
"to": [{ "shell_command": "unused" }],
|
||||||
|
"type": "basic"
|
||||||
|
},
|
||||||
|
{
|
||||||
"conditions": [
|
"conditions": [
|
||||||
{
|
{
|
||||||
"type": "variable_if",
|
|
||||||
"name": "hyper_sublayer_a",
|
"name": "hyper_sublayer_a",
|
||||||
|
"type": "variable_if",
|
||||||
"value": 1
|
"value": 1
|
||||||
}
|
}
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"to": [
|
|
||||||
{
|
|
||||||
"shell_command": "open -a Drafts.app"
|
|
||||||
}
|
|
||||||
],
|
],
|
||||||
"description": "Open Drafts",
|
"description": "Open Drafts",
|
||||||
"type": "basic",
|
|
||||||
"from": {
|
"from": {
|
||||||
"key_code": "i",
|
"key_code": "i",
|
||||||
"modifiers": {
|
"modifiers": { "mandatory": ["any"] }
|
||||||
"mandatory": ["any"]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
"to": [{ "shell_command": "open -a Drafts.app" }],
|
||||||
|
"type": "basic"
|
||||||
|
},
|
||||||
|
{
|
||||||
"conditions": [
|
"conditions": [
|
||||||
{
|
{
|
||||||
"type": "variable_if",
|
|
||||||
"name": "hyper_sublayer_a",
|
"name": "hyper_sublayer_a",
|
||||||
|
"type": "variable_if",
|
||||||
"value": 1
|
"value": 1
|
||||||
}
|
}
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"to": [
|
|
||||||
{
|
|
||||||
"shell_command": "open -a 'Obsidian.app'"
|
|
||||||
}
|
|
||||||
],
|
],
|
||||||
"description": "open Obsidian",
|
"description": "open Obsidian",
|
||||||
"type": "basic",
|
|
||||||
"from": {
|
"from": {
|
||||||
"key_code": "o",
|
"key_code": "o",
|
||||||
"modifiers": {
|
"modifiers": { "mandatory": ["any"] }
|
||||||
"mandatory": ["any"]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"conditions": [
|
"to": [{ "shell_command": "open -a 'Obsidian.app'" }],
|
||||||
{
|
"type": "basic"
|
||||||
"type": "variable_if",
|
|
||||||
"name": "hyper_sublayer_a",
|
|
||||||
"value": 1
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -302,19 +229,31 @@
|
|||||||
"description": "Hyper Key sublayer \"r\"",
|
"description": "Hyper Key sublayer \"r\"",
|
||||||
"manipulators": [
|
"manipulators": [
|
||||||
{
|
{
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"name": "hyper_sublayer_a",
|
||||||
|
"type": "variable_if",
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "hyper_sublayer_w",
|
||||||
|
"type": "variable_if",
|
||||||
|
"value": 0
|
||||||
|
}
|
||||||
|
],
|
||||||
"description": "Toggle Hyper sublayer r",
|
"description": "Toggle Hyper sublayer r",
|
||||||
"type": "basic",
|
|
||||||
"from": {
|
"from": {
|
||||||
"key_code": "r",
|
"key_code": "r",
|
||||||
"modifiers": {
|
"modifiers": { "mandatory": ["left_command", "left_control", "left_shift", "left_option"] }
|
||||||
"mandatory": [
|
|
||||||
"left_command",
|
|
||||||
"left_control",
|
|
||||||
"left_shift",
|
|
||||||
"left_option"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
"to": [
|
||||||
|
{
|
||||||
|
"set_variable": {
|
||||||
|
"name": "hyper_sublayer_r",
|
||||||
|
"value": 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
"to_after_key_up": [
|
"to_after_key_up": [
|
||||||
{
|
{
|
||||||
"set_variable": {
|
"set_variable": {
|
||||||
@@ -323,48 +262,23 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"to": [
|
"type": "basic"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"set_variable": {
|
|
||||||
"name": "hyper_sublayer_r",
|
|
||||||
"value": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"conditions": [
|
"conditions": [
|
||||||
{
|
{
|
||||||
|
"name": "hyper_sublayer_r",
|
||||||
"type": "variable_if",
|
"type": "variable_if",
|
||||||
"name": "hyper_sublayer_a",
|
"value": 1
|
||||||
"value": 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "variable_if",
|
|
||||||
"name": "hyper_sublayer_w",
|
|
||||||
"value": 0
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"to": [
|
|
||||||
{
|
|
||||||
"shell_command": "open raycast://extensions/koinzhang/paste-as-plain-text/paste-as-plain-text?arguments=%7B%22advancedPasteFormat%22%3A%22%22%7D"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"description": "Paste as Plain Text",
|
"description": "Paste as Plain Text",
|
||||||
"type": "basic",
|
|
||||||
"from": {
|
"from": {
|
||||||
"key_code": "v",
|
"key_code": "v",
|
||||||
"modifiers": {
|
"modifiers": { "mandatory": ["any"] }
|
||||||
"mandatory": ["any"]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"conditions": [
|
"to": [{ "shell_command": "open raycast://extensions/koinzhang/paste-as-plain-text/paste-as-plain-text?arguments=%7B%22advancedPasteFormat%22%3A%22%22%7D" }],
|
||||||
{
|
"type": "basic"
|
||||||
"type": "variable_if",
|
|
||||||
"name": "hyper_sublayer_r",
|
|
||||||
"value": 1
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -372,19 +286,31 @@
|
|||||||
"description": "Hyper Key sublayer \"w\"",
|
"description": "Hyper Key sublayer \"w\"",
|
||||||
"manipulators": [
|
"manipulators": [
|
||||||
{
|
{
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"name": "hyper_sublayer_a",
|
||||||
|
"type": "variable_if",
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "hyper_sublayer_r",
|
||||||
|
"type": "variable_if",
|
||||||
|
"value": 0
|
||||||
|
}
|
||||||
|
],
|
||||||
"description": "Toggle Hyper sublayer w",
|
"description": "Toggle Hyper sublayer w",
|
||||||
"type": "basic",
|
|
||||||
"from": {
|
"from": {
|
||||||
"key_code": "w",
|
"key_code": "w",
|
||||||
"modifiers": {
|
"modifiers": { "mandatory": ["left_command", "left_control", "left_shift", "left_option"] }
|
||||||
"mandatory": [
|
|
||||||
"left_command",
|
|
||||||
"left_control",
|
|
||||||
"left_shift",
|
|
||||||
"left_option"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
"to": [
|
||||||
|
{
|
||||||
|
"set_variable": {
|
||||||
|
"name": "hyper_sublayer_w",
|
||||||
|
"value": 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
"to_after_key_up": [
|
"to_after_key_up": [
|
||||||
{
|
{
|
||||||
"set_variable": {
|
"set_variable": {
|
||||||
@@ -393,202 +319,135 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"to": [
|
"type": "basic"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"set_variable": {
|
|
||||||
"name": "hyper_sublayer_w",
|
|
||||||
"value": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"conditions": [
|
"conditions": [
|
||||||
{
|
{
|
||||||
|
"name": "hyper_sublayer_w",
|
||||||
"type": "variable_if",
|
"type": "variable_if",
|
||||||
"name": "hyper_sublayer_a",
|
"value": 1
|
||||||
"value": 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "variable_if",
|
|
||||||
"name": "hyper_sublayer_r",
|
|
||||||
"value": 0
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"to": [
|
|
||||||
{
|
|
||||||
"shell_command": "unused"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"description": "unused",
|
"description": "unused",
|
||||||
"type": "basic",
|
|
||||||
"from": {
|
"from": {
|
||||||
"key_code": "h",
|
"key_code": "h",
|
||||||
"modifiers": {
|
"modifiers": { "mandatory": ["any"] }
|
||||||
"mandatory": ["any"]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
"to": [{ "shell_command": "unused" }],
|
||||||
|
"type": "basic"
|
||||||
|
},
|
||||||
|
{
|
||||||
"conditions": [
|
"conditions": [
|
||||||
{
|
{
|
||||||
"type": "variable_if",
|
|
||||||
"name": "hyper_sublayer_w",
|
"name": "hyper_sublayer_w",
|
||||||
|
"type": "variable_if",
|
||||||
"value": 1
|
"value": 1
|
||||||
}
|
}
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"to": [
|
|
||||||
{
|
|
||||||
"shell_command": "unused"
|
|
||||||
}
|
|
||||||
],
|
],
|
||||||
"description": "unused",
|
"description": "unused",
|
||||||
"type": "basic",
|
|
||||||
"from": {
|
"from": {
|
||||||
"key_code": "j",
|
"key_code": "j",
|
||||||
"modifiers": {
|
"modifiers": { "mandatory": ["any"] }
|
||||||
"mandatory": ["any"]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
"to": [{ "shell_command": "unused" }],
|
||||||
|
"type": "basic"
|
||||||
|
},
|
||||||
|
{
|
||||||
"conditions": [
|
"conditions": [
|
||||||
{
|
{
|
||||||
"type": "variable_if",
|
|
||||||
"name": "hyper_sublayer_w",
|
"name": "hyper_sublayer_w",
|
||||||
|
"type": "variable_if",
|
||||||
"value": 1
|
"value": 1
|
||||||
}
|
}
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"to": [
|
|
||||||
{
|
|
||||||
"shell_command": "unused"
|
|
||||||
}
|
|
||||||
],
|
],
|
||||||
"description": "unused",
|
"description": "unused",
|
||||||
"type": "basic",
|
|
||||||
"from": {
|
"from": {
|
||||||
"key_code": "k",
|
"key_code": "k",
|
||||||
"modifiers": {
|
"modifiers": { "mandatory": ["any"] }
|
||||||
"mandatory": ["any"]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
"to": [{ "shell_command": "unused" }],
|
||||||
|
"type": "basic"
|
||||||
|
},
|
||||||
|
{
|
||||||
"conditions": [
|
"conditions": [
|
||||||
{
|
{
|
||||||
"type": "variable_if",
|
|
||||||
"name": "hyper_sublayer_w",
|
"name": "hyper_sublayer_w",
|
||||||
|
"type": "variable_if",
|
||||||
"value": 1
|
"value": 1
|
||||||
}
|
}
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"to": [
|
|
||||||
{
|
|
||||||
"shell_command": "open -a Calendar.app"
|
|
||||||
}
|
|
||||||
],
|
],
|
||||||
"description": "open Calendar",
|
"description": "open Calendar",
|
||||||
"type": "basic",
|
|
||||||
"from": {
|
"from": {
|
||||||
"key_code": "l",
|
"key_code": "l",
|
||||||
"modifiers": {
|
"modifiers": { "mandatory": ["any"] }
|
||||||
"mandatory": ["any"]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
"to": [{ "shell_command": "open -a Calendar.app" }],
|
||||||
|
"type": "basic"
|
||||||
|
},
|
||||||
|
{
|
||||||
"conditions": [
|
"conditions": [
|
||||||
{
|
{
|
||||||
"type": "variable_if",
|
|
||||||
"name": "hyper_sublayer_w",
|
"name": "hyper_sublayer_w",
|
||||||
|
"type": "variable_if",
|
||||||
"value": 1
|
"value": 1
|
||||||
}
|
}
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"to": [
|
|
||||||
{
|
|
||||||
"shell_command": "open -a 'Microsoft Word.app'"
|
|
||||||
}
|
|
||||||
],
|
],
|
||||||
"description": "open Microsoft Word",
|
"description": "open Microsoft Word",
|
||||||
"type": "basic",
|
|
||||||
"from": {
|
"from": {
|
||||||
"key_code": "u",
|
"key_code": "u",
|
||||||
"modifiers": {
|
"modifiers": { "mandatory": ["any"] }
|
||||||
"mandatory": ["any"]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
"to": [{ "shell_command": "open -a 'Microsoft Word.app'" }],
|
||||||
|
"type": "basic"
|
||||||
|
},
|
||||||
|
{
|
||||||
"conditions": [
|
"conditions": [
|
||||||
{
|
{
|
||||||
"type": "variable_if",
|
|
||||||
"name": "hyper_sublayer_w",
|
"name": "hyper_sublayer_w",
|
||||||
|
"type": "variable_if",
|
||||||
"value": 1
|
"value": 1
|
||||||
}
|
}
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"to": [
|
|
||||||
{
|
|
||||||
"shell_command": "open -a 'Microsoft Excel.app'"
|
|
||||||
}
|
|
||||||
],
|
],
|
||||||
"description": "open Microsoft Excel",
|
"description": "open Microsoft Excel",
|
||||||
"type": "basic",
|
|
||||||
"from": {
|
"from": {
|
||||||
"key_code": "i",
|
"key_code": "i",
|
||||||
"modifiers": {
|
"modifiers": { "mandatory": ["any"] }
|
||||||
"mandatory": ["any"]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
"to": [{ "shell_command": "open -a 'Microsoft Excel.app'" }],
|
||||||
|
"type": "basic"
|
||||||
|
},
|
||||||
|
{
|
||||||
"conditions": [
|
"conditions": [
|
||||||
{
|
{
|
||||||
"type": "variable_if",
|
|
||||||
"name": "hyper_sublayer_w",
|
"name": "hyper_sublayer_w",
|
||||||
|
"type": "variable_if",
|
||||||
"value": 1
|
"value": 1
|
||||||
}
|
}
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"to": [
|
|
||||||
{
|
|
||||||
"shell_command": "open -a 'Microsoft Teams.app'"
|
|
||||||
}
|
|
||||||
],
|
],
|
||||||
"description": "open Microsoft Teams",
|
"description": "open Microsoft Teams",
|
||||||
"type": "basic",
|
|
||||||
"from": {
|
"from": {
|
||||||
"key_code": "o",
|
"key_code": "o",
|
||||||
"modifiers": {
|
"modifiers": { "mandatory": ["any"] }
|
||||||
"mandatory": ["any"]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
"to": [{ "shell_command": "open -a 'Microsoft Teams.app'" }],
|
||||||
|
"type": "basic"
|
||||||
|
},
|
||||||
|
{
|
||||||
"conditions": [
|
"conditions": [
|
||||||
{
|
{
|
||||||
"type": "variable_if",
|
|
||||||
"name": "hyper_sublayer_w",
|
"name": "hyper_sublayer_w",
|
||||||
|
"type": "variable_if",
|
||||||
"value": 1
|
"value": 1
|
||||||
}
|
}
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"to": [
|
|
||||||
{
|
|
||||||
"shell_command": "open -a 'Microsoft Outlook.app'"
|
|
||||||
}
|
|
||||||
],
|
],
|
||||||
"description": "open Microsoft Outlook",
|
"description": "open Microsoft Outlook",
|
||||||
"type": "basic",
|
|
||||||
"from": {
|
"from": {
|
||||||
"key_code": "p",
|
"key_code": "p",
|
||||||
"modifiers": {
|
"modifiers": { "mandatory": ["any"] }
|
||||||
"mandatory": ["any"]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"conditions": [
|
"to": [{ "shell_command": "open -a 'Microsoft Outlook.app'" }],
|
||||||
{
|
"type": "basic"
|
||||||
"type": "variable_if",
|
|
||||||
"name": "hyper_sublayer_w",
|
|
||||||
"value": 1
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -596,23 +455,12 @@
|
|||||||
"description": "Hyper Key + h",
|
"description": "Hyper Key + h",
|
||||||
"manipulators": [
|
"manipulators": [
|
||||||
{
|
{
|
||||||
"to": [
|
|
||||||
{
|
|
||||||
"key_code": "left_arrow"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"type": "basic",
|
|
||||||
"from": {
|
"from": {
|
||||||
"key_code": "h",
|
"key_code": "h",
|
||||||
"modifiers": {
|
"modifiers": { "mandatory": ["left_command", "left_control", "left_shift", "left_option"] }
|
||||||
"mandatory": [
|
},
|
||||||
"left_command",
|
"to": [{ "key_code": "left_arrow" }],
|
||||||
"left_control",
|
"type": "basic"
|
||||||
"left_shift",
|
|
||||||
"left_option"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -620,23 +468,12 @@
|
|||||||
"description": "Hyper Key + j",
|
"description": "Hyper Key + j",
|
||||||
"manipulators": [
|
"manipulators": [
|
||||||
{
|
{
|
||||||
"to": [
|
|
||||||
{
|
|
||||||
"key_code": "down_arrow"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"type": "basic",
|
|
||||||
"from": {
|
"from": {
|
||||||
"key_code": "j",
|
"key_code": "j",
|
||||||
"modifiers": {
|
"modifiers": { "mandatory": ["left_command", "left_control", "left_shift", "left_option"] }
|
||||||
"mandatory": [
|
},
|
||||||
"left_command",
|
"to": [{ "key_code": "down_arrow" }],
|
||||||
"left_control",
|
"type": "basic"
|
||||||
"left_shift",
|
|
||||||
"left_option"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -644,23 +481,12 @@
|
|||||||
"description": "Hyper Key + k",
|
"description": "Hyper Key + k",
|
||||||
"manipulators": [
|
"manipulators": [
|
||||||
{
|
{
|
||||||
"to": [
|
|
||||||
{
|
|
||||||
"key_code": "up_arrow"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"type": "basic",
|
|
||||||
"from": {
|
"from": {
|
||||||
"key_code": "k",
|
"key_code": "k",
|
||||||
"modifiers": {
|
"modifiers": { "mandatory": ["left_command", "left_control", "left_shift", "left_option"] }
|
||||||
"mandatory": [
|
},
|
||||||
"left_command",
|
"to": [{ "key_code": "up_arrow" }],
|
||||||
"left_control",
|
"type": "basic"
|
||||||
"left_shift",
|
|
||||||
"left_option"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -668,23 +494,12 @@
|
|||||||
"description": "Hyper Key + l",
|
"description": "Hyper Key + l",
|
||||||
"manipulators": [
|
"manipulators": [
|
||||||
{
|
{
|
||||||
"to": [
|
|
||||||
{
|
|
||||||
"key_code": "right_arrow"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"type": "basic",
|
|
||||||
"from": {
|
"from": {
|
||||||
"key_code": "l",
|
"key_code": "l",
|
||||||
"modifiers": {
|
"modifiers": { "mandatory": ["left_command", "left_control", "left_shift", "left_option"] }
|
||||||
"mandatory": [
|
},
|
||||||
"left_command",
|
"to": [{ "key_code": "right_arrow" }],
|
||||||
"left_control",
|
"type": "basic"
|
||||||
"left_shift",
|
|
||||||
"left_option"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -692,24 +507,17 @@
|
|||||||
"description": "Hyper Key + f",
|
"description": "Hyper Key + f",
|
||||||
"manipulators": [
|
"manipulators": [
|
||||||
{
|
{
|
||||||
|
"from": {
|
||||||
|
"key_code": "f",
|
||||||
|
"modifiers": { "mandatory": ["left_command", "left_control", "left_shift", "left_option"] }
|
||||||
|
},
|
||||||
"to": [
|
"to": [
|
||||||
{
|
{
|
||||||
"key_code": "b",
|
"key_code": "b",
|
||||||
"modifiers": ["left_control"]
|
"modifiers": ["left_control"]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"type": "basic",
|
"type": "basic"
|
||||||
"from": {
|
|
||||||
"key_code": "f",
|
|
||||||
"modifiers": {
|
|
||||||
"mandatory": [
|
|
||||||
"left_command",
|
|
||||||
"left_control",
|
|
||||||
"left_shift",
|
|
||||||
"left_option"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -732,9 +540,7 @@
|
|||||||
],
|
],
|
||||||
"name": "Default profile",
|
"name": "Default profile",
|
||||||
"selected": true,
|
"selected": true,
|
||||||
"virtual_hid_keyboard": {
|
"virtual_hid_keyboard": { "keyboard_type_v2": "ansi" }
|
||||||
"keyboard_type_v2": "ansi"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user