summaryrefslogtreecommitdiff
path: root/karabiner
diff options
context:
space:
mode:
Diffstat (limited to 'karabiner')
-rw-r--r--karabiner/karabiner.json42
1 files changed, 42 insertions, 0 deletions
diff --git a/karabiner/karabiner.json b/karabiner/karabiner.json
index 11a68c6..28275cc 100644
--- a/karabiner/karabiner.json
+++ b/karabiner/karabiner.json
@@ -8,6 +8,48 @@
"complex_modifications": {
"rules": [
{
+ "description": "Find my Kitty (left_option+space)",
+ "manipulators": [
+ {
+ "conditions": [
+ {
+ "bundle_identifiers": [
+ "^net\\.kovidgoyal\\.kitty$"
+ ],
+ "type": "frontmost_application_unless"
+ }
+ ],
+ "from": {
+ "key_code": "spacebar",
+ "modifiers": { "mandatory": ["left_option"] }
+ },
+ "to": [{ "shell_command": "open -a Kitty --args --start-as=fullscreen" }],
+ "type": "basic"
+ },
+ {
+ "conditions": [
+ {
+ "bundle_identifiers": [
+ "^net\\.kovidgoyal\\.kitty$"
+ ],
+ "type": "frontmost_application_if"
+ }
+ ],
+ "from": {
+ "key_code": "spacebar",
+ "modifiers": { "mandatory": ["left_option"] }
+ },
+ "to": [
+ {
+ "key_code": "h",
+ "modifiers": ["command"]
+ }
+ ],
+ "type": "basic"
+ }
+ ]
+ },
+ {
"description": "Switch input method (right_option+num)",
"manipulators": [
{