This commit is contained in:
Harivansh Rathi 2026-02-18 12:53:08 -05:00
parent 85c031b34d
commit d8b54c8b00
4 changed files with 325 additions and 279 deletions

View file

@ -6,6 +6,7 @@
"permissions": { "permissions": {
"defaultMode": "default" "defaultMode": "default"
}, },
"model": "sonnet",
"hooks": { "hooks": {
"PreToolUse": [ "PreToolUse": [
{ {
@ -68,5 +69,6 @@
"CONTEXT7_API_KEY": "${CONTEXT7_API_KEY}" "CONTEXT7_API_KEY": "${CONTEXT7_API_KEY}"
} }
} }
} },
"effortLevel": "medium"
} }

View file

@ -1,5 +1,6 @@
theme=Gruvbox Material Dark theme=Gruvbox Material Dark
font-family = "Berkeley Mono" font-family = "Berkeley Mono"
font-codepoint-map= "U+f101-U+f25c=nonicons"
background-opacity = 1 background-opacity = 1
# background-blur = macos-glass-regular # background-blur = macos-glass-regular

View file

@ -1,279 +1,322 @@
{ {
"profiles": [ "profiles": [
{ {
"complex_modifications": { "complex_modifications": {
"rules": [ "rules": [
{ {
"description": "Caps Lock + 6 = Open Telegram", "description": "Caps Lock + 6 = Open Telegram",
"manipulators": [ "manipulators": [
{ {
"from": { "from": {
"key_code": "6", "key_code": "6",
"modifiers": { "mandatory": ["left_control"] } "modifiers": {
}, "mandatory": [
"to": [{ "shell_command": "open -a 'Telegram'" }], "left_control"
"type": "basic" ]
} }
] },
}, "to": [
{ {
"description": "Caps Lock + 5 = Open Riptide", "shell_command": "open -a 'Telegram'"
"manipulators": [ }
{ ],
"from": { "type": "basic"
"key_code": "5", }
"modifiers": { "mandatory": ["left_control"] } ]
}, },
"to": [{ "shell_command": "open -a 'Riptide-dev'" }], {
"type": "basic" "description": "Caps Lock + 5 = Open Riptide",
} "manipulators": [
] {
}, "from": {
{ "key_code": "5",
"description": "Caps Lock to Control (held) / Escape (tapped)", "modifiers": {
"manipulators": [ "mandatory": [
{ "left_control"
"from": { ]
"key_code": "caps_lock", }
"modifiers": { "optional": ["any"] } },
}, "to": [
"to": [{ "key_code": "left_control" }], {
"to_if_alone": [{ "key_code": "escape" }], "shell_command": "open -a 'Riptide-dev'"
"type": "basic" }
} ],
] "type": "basic"
}, }
{ ]
"description": "Caps Lock + 1 = Open Dia", },
"manipulators": [ {
{ "description": "Caps Lock to Control (held) / Escape (tapped)",
"from": { "manipulators": [
"key_code": "1", {
"modifiers": { "mandatory": ["left_control"] } "from": {
}, "key_code": "caps_lock",
"to": [{ "shell_command": "open -a 'Dia'" }], "modifiers": {
"type": "basic" "optional": [
} "any"
] ]
}, }
{ },
"description": "Caps Lock + 2 = Open Ghostty", "to": [
"manipulators": [ {
{ "key_code": "left_control"
"from": { }
"key_code": "2", ],
"modifiers": { "mandatory": ["left_control"] } "to_if_alone": [
}, {
"to": [{ "shell_command": "open -a 'Ghostty'" }], "key_code": "escape"
"type": "basic" }
} ],
] "type": "basic"
}, }
{ ]
"description": "Caps Lock + 3 = Open Messages", },
"manipulators": [ {
{ "description": "Caps Lock + 1 = Open Dia",
"from": { "manipulators": [
"key_code": "3", {
"modifiers": { "mandatory": ["left_control"] } "from": {
}, "key_code": "1",
"to": [{ "shell_command": "open -a 'Messages'" }], "modifiers": {
"type": "basic" "mandatory": [
} "left_control"
] ]
}, }
{ },
"description": "Caps Lock + 4 = Open Signal", "to": [
"manipulators": [ {
{ "shell_command": "open -a 'Dia'"
"from": { }
"key_code": "4", ],
"modifiers": { "mandatory": ["left_control"] } "type": "basic"
}, }
"to": [{ "shell_command": "open -a 'Signal'" }], ]
"type": "basic" },
} {
] "description": "Caps Lock + 2 = Open Ghostty",
}, "manipulators": [
{ {
"description": "Caps Lock + H = Left Arrow", "from": {
"manipulators": [ "key_code": "2",
{ "modifiers": {
"from": { "mandatory": [
"key_code": "h", "left_control"
"modifiers": { "mandatory": ["left_control"] } ]
}, }
"to": [{ "key_code": "left_arrow" }], },
"type": "basic" "to": [
} {
] "shell_command": "open -a 'Ghostty'"
}, }
{ ],
"description": "Caps Lock + J = Scroll Down", "type": "basic"
"manipulators": [ }
{ ]
"from": { },
"key_code": "j", {
"modifiers": { "mandatory": ["left_control"] } "description": "Caps Lock + 3 = Open Messages",
}, "manipulators": [
"to": [{ "mouse_key": { "vertical_wheel": 80 } }], {
"type": "basic" "from": {
} "key_code": "3",
] "modifiers": {
}, "mandatory": [
{ "left_control"
"description": "Caps Lock + K = Scroll Up", ]
"manipulators": [ }
{ },
"from": { "to": [
"key_code": "k", {
"modifiers": { "mandatory": ["left_control"] } "shell_command": "open -a 'Messages'"
}, }
"to": [{ "mouse_key": { "vertical_wheel": -80 } }], ],
"type": "basic" "type": "basic"
} }
] ]
}, },
{ {
"description": "Caps Lock + L = Right Arrow", "description": "Caps Lock + 4 = Open Signal",
"manipulators": [ "manipulators": [
{ {
"from": { "from": {
"key_code": "l", "key_code": "4",
"modifiers": { "mandatory": ["left_control"] } "modifiers": {
}, "mandatory": [
"to": [{ "key_code": "right_arrow" }], "left_control"
"type": "basic" ]
} }
] },
}, "to": [
{ {
"description": "Caps Lock + U = Page Up", "shell_command": "open -a 'Signal'"
"manipulators": [ }
{ ],
"from": { "type": "basic"
"key_code": "u", }
"modifiers": { "mandatory": ["left_control"] } ]
}, },
"to": [{ "key_code": "page_up" }], {
"type": "basic" "description": "Caps Lock + H = Left Arrow",
} "manipulators": [
] {
}, "from": {
{ "key_code": "h",
"description": "Caps Lock + D = Page Down", "modifiers": {
"manipulators": [ "mandatory": [
{ "left_control"
"from": { ]
"key_code": "d", }
"modifiers": { "mandatory": ["left_control"] } },
}, "to": [
"to": [{ "key_code": "page_down" }], {
"type": "basic" "key_code": "left_arrow"
} }
] ],
}, "type": "basic"
{ }
"description": "Right Command = Option+W (tmux prefix)", ]
"manipulators": [ },
{ {
"from": { "description": "Caps Lock + J = Scroll Down",
"key_code": "right_command", "manipulators": [
"modifiers": { "optional": ["any"] } {
}, "from": {
"to": [ "key_code": "j",
{ "modifiers": {
"key_code": "w", "mandatory": [
"modifiers": ["left_option"] "left_control"
} ]
], }
"type": "basic" },
} "to": [
] {
}, "mouse_key": {
{ "vertical_wheel": 80
"description": "Caps Lock + g = Bottom, Caps Lock + gg = Top (vim-style)",
"manipulators": [
{
"conditions": [
{
"name": "g_pressed",
"type": "variable_if",
"value": 1
}
],
"from": {
"key_code": "g",
"modifiers": { "mandatory": ["left_control"] }
},
"to": [
{
"key_code": "up_arrow",
"modifiers": ["command"]
},
{
"set_variable": {
"name": "g_pressed",
"value": 0
}
}
],
"type": "basic"
},
{
"conditions": [
{
"name": "g_pressed",
"type": "variable_if",
"value": 0
}
],
"from": {
"key_code": "g",
"modifiers": { "mandatory": ["left_control"] }
},
"to": [
{
"set_variable": {
"name": "g_pressed",
"value": 1
}
}
],
"to_delayed_action": {
"to_if_canceled": [
{
"set_variable": {
"name": "g_pressed",
"value": 0
}
}
],
"to_if_invoked": [
{
"key_code": "down_arrow",
"modifiers": ["command"]
},
{
"set_variable": {
"name": "g_pressed",
"value": 0
}
}
]
},
"type": "basic"
}
]
} }
] }
}, ],
"name": "Default profile", "type": "basic"
"selected": true, }
"virtual_hid_keyboard": { ]
"country_code": 0, },
"keyboard_type_v2": "ansi" {
} "description": "Caps Lock + K = Scroll Up",
} "manipulators": [
] {
"from": {
"key_code": "k",
"modifiers": {
"mandatory": [
"left_control"
]
}
},
"to": [
{
"mouse_key": {
"vertical_wheel": -80
}
}
],
"type": "basic"
}
]
},
{
"description": "Caps Lock + L = Right Arrow",
"manipulators": [
{
"from": {
"key_code": "l",
"modifiers": {
"mandatory": [
"left_control"
]
}
},
"to": [
{
"key_code": "right_arrow"
}
],
"type": "basic"
}
]
},
{
"description": "Caps Lock + U = Page Up",
"manipulators": [
{
"from": {
"key_code": "u",
"modifiers": {
"mandatory": [
"left_control"
]
}
},
"to": [
{
"key_code": "page_up"
}
],
"type": "basic"
}
]
},
{
"description": "Caps Lock + D = Page Down",
"manipulators": [
{
"from": {
"key_code": "d",
"modifiers": {
"mandatory": [
"left_control"
]
}
},
"to": [
{
"key_code": "page_down"
}
],
"type": "basic"
}
]
},
{
"description": "Right Command = Option+W (tmux prefix)",
"manipulators": [
{
"from": {
"key_code": "right_command",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "w",
"modifiers": [
"left_option"
]
}
],
"type": "basic"
}
]
}
]
},
"name": "Default profile",
"selected": true,
"virtual_hid_keyboard": {
"country_code": 0,
"keyboard_type_v2": "ansi"
}
}
]
} }

@ -1 +1 @@
Subproject commit e7e0a25ab4dd559977235d452481a9b62560a56a Subproject commit d9a93f41a3224b752a5f4d72791d2f642cc03fb2