mirror of
https://github.com/harivansh-afk/dots.git
synced 2026-04-17 05:00:18 +00:00
update
This commit is contained in:
parent
85c031b34d
commit
d8b54c8b00
4 changed files with 325 additions and 279 deletions
|
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -9,9 +9,17 @@
|
||||||
{
|
{
|
||||||
"from": {
|
"from": {
|
||||||
"key_code": "6",
|
"key_code": "6",
|
||||||
"modifiers": { "mandatory": ["left_control"] }
|
"modifiers": {
|
||||||
|
"mandatory": [
|
||||||
|
"left_control"
|
||||||
|
]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"to": [{ "shell_command": "open -a 'Telegram'" }],
|
"to": [
|
||||||
|
{
|
||||||
|
"shell_command": "open -a 'Telegram'"
|
||||||
|
}
|
||||||
|
],
|
||||||
"type": "basic"
|
"type": "basic"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
@ -22,9 +30,17 @@
|
||||||
{
|
{
|
||||||
"from": {
|
"from": {
|
||||||
"key_code": "5",
|
"key_code": "5",
|
||||||
"modifiers": { "mandatory": ["left_control"] }
|
"modifiers": {
|
||||||
|
"mandatory": [
|
||||||
|
"left_control"
|
||||||
|
]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"to": [{ "shell_command": "open -a 'Riptide-dev'" }],
|
"to": [
|
||||||
|
{
|
||||||
|
"shell_command": "open -a 'Riptide-dev'"
|
||||||
|
}
|
||||||
|
],
|
||||||
"type": "basic"
|
"type": "basic"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
@ -35,10 +51,22 @@
|
||||||
{
|
{
|
||||||
"from": {
|
"from": {
|
||||||
"key_code": "caps_lock",
|
"key_code": "caps_lock",
|
||||||
"modifiers": { "optional": ["any"] }
|
"modifiers": {
|
||||||
|
"optional": [
|
||||||
|
"any"
|
||||||
|
]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"to": [{ "key_code": "left_control" }],
|
"to": [
|
||||||
"to_if_alone": [{ "key_code": "escape" }],
|
{
|
||||||
|
"key_code": "left_control"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"to_if_alone": [
|
||||||
|
{
|
||||||
|
"key_code": "escape"
|
||||||
|
}
|
||||||
|
],
|
||||||
"type": "basic"
|
"type": "basic"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
@ -49,9 +77,17 @@
|
||||||
{
|
{
|
||||||
"from": {
|
"from": {
|
||||||
"key_code": "1",
|
"key_code": "1",
|
||||||
"modifiers": { "mandatory": ["left_control"] }
|
"modifiers": {
|
||||||
|
"mandatory": [
|
||||||
|
"left_control"
|
||||||
|
]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"to": [{ "shell_command": "open -a 'Dia'" }],
|
"to": [
|
||||||
|
{
|
||||||
|
"shell_command": "open -a 'Dia'"
|
||||||
|
}
|
||||||
|
],
|
||||||
"type": "basic"
|
"type": "basic"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
@ -62,9 +98,17 @@
|
||||||
{
|
{
|
||||||
"from": {
|
"from": {
|
||||||
"key_code": "2",
|
"key_code": "2",
|
||||||
"modifiers": { "mandatory": ["left_control"] }
|
"modifiers": {
|
||||||
|
"mandatory": [
|
||||||
|
"left_control"
|
||||||
|
]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"to": [{ "shell_command": "open -a 'Ghostty'" }],
|
"to": [
|
||||||
|
{
|
||||||
|
"shell_command": "open -a 'Ghostty'"
|
||||||
|
}
|
||||||
|
],
|
||||||
"type": "basic"
|
"type": "basic"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
@ -75,9 +119,17 @@
|
||||||
{
|
{
|
||||||
"from": {
|
"from": {
|
||||||
"key_code": "3",
|
"key_code": "3",
|
||||||
"modifiers": { "mandatory": ["left_control"] }
|
"modifiers": {
|
||||||
|
"mandatory": [
|
||||||
|
"left_control"
|
||||||
|
]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"to": [{ "shell_command": "open -a 'Messages'" }],
|
"to": [
|
||||||
|
{
|
||||||
|
"shell_command": "open -a 'Messages'"
|
||||||
|
}
|
||||||
|
],
|
||||||
"type": "basic"
|
"type": "basic"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
@ -88,9 +140,17 @@
|
||||||
{
|
{
|
||||||
"from": {
|
"from": {
|
||||||
"key_code": "4",
|
"key_code": "4",
|
||||||
"modifiers": { "mandatory": ["left_control"] }
|
"modifiers": {
|
||||||
|
"mandatory": [
|
||||||
|
"left_control"
|
||||||
|
]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"to": [{ "shell_command": "open -a 'Signal'" }],
|
"to": [
|
||||||
|
{
|
||||||
|
"shell_command": "open -a 'Signal'"
|
||||||
|
}
|
||||||
|
],
|
||||||
"type": "basic"
|
"type": "basic"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
@ -101,9 +161,17 @@
|
||||||
{
|
{
|
||||||
"from": {
|
"from": {
|
||||||
"key_code": "h",
|
"key_code": "h",
|
||||||
"modifiers": { "mandatory": ["left_control"] }
|
"modifiers": {
|
||||||
|
"mandatory": [
|
||||||
|
"left_control"
|
||||||
|
]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"to": [{ "key_code": "left_arrow" }],
|
"to": [
|
||||||
|
{
|
||||||
|
"key_code": "left_arrow"
|
||||||
|
}
|
||||||
|
],
|
||||||
"type": "basic"
|
"type": "basic"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
@ -114,9 +182,19 @@
|
||||||
{
|
{
|
||||||
"from": {
|
"from": {
|
||||||
"key_code": "j",
|
"key_code": "j",
|
||||||
"modifiers": { "mandatory": ["left_control"] }
|
"modifiers": {
|
||||||
|
"mandatory": [
|
||||||
|
"left_control"
|
||||||
|
]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"to": [{ "mouse_key": { "vertical_wheel": 80 } }],
|
"to": [
|
||||||
|
{
|
||||||
|
"mouse_key": {
|
||||||
|
"vertical_wheel": 80
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
"type": "basic"
|
"type": "basic"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
@ -127,9 +205,19 @@
|
||||||
{
|
{
|
||||||
"from": {
|
"from": {
|
||||||
"key_code": "k",
|
"key_code": "k",
|
||||||
"modifiers": { "mandatory": ["left_control"] }
|
"modifiers": {
|
||||||
|
"mandatory": [
|
||||||
|
"left_control"
|
||||||
|
]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"to": [{ "mouse_key": { "vertical_wheel": -80 } }],
|
"to": [
|
||||||
|
{
|
||||||
|
"mouse_key": {
|
||||||
|
"vertical_wheel": -80
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
"type": "basic"
|
"type": "basic"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
@ -140,9 +228,17 @@
|
||||||
{
|
{
|
||||||
"from": {
|
"from": {
|
||||||
"key_code": "l",
|
"key_code": "l",
|
||||||
"modifiers": { "mandatory": ["left_control"] }
|
"modifiers": {
|
||||||
|
"mandatory": [
|
||||||
|
"left_control"
|
||||||
|
]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"to": [{ "key_code": "right_arrow" }],
|
"to": [
|
||||||
|
{
|
||||||
|
"key_code": "right_arrow"
|
||||||
|
}
|
||||||
|
],
|
||||||
"type": "basic"
|
"type": "basic"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
@ -153,9 +249,17 @@
|
||||||
{
|
{
|
||||||
"from": {
|
"from": {
|
||||||
"key_code": "u",
|
"key_code": "u",
|
||||||
"modifiers": { "mandatory": ["left_control"] }
|
"modifiers": {
|
||||||
|
"mandatory": [
|
||||||
|
"left_control"
|
||||||
|
]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"to": [{ "key_code": "page_up" }],
|
"to": [
|
||||||
|
{
|
||||||
|
"key_code": "page_up"
|
||||||
|
}
|
||||||
|
],
|
||||||
"type": "basic"
|
"type": "basic"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
@ -166,9 +270,17 @@
|
||||||
{
|
{
|
||||||
"from": {
|
"from": {
|
||||||
"key_code": "d",
|
"key_code": "d",
|
||||||
"modifiers": { "mandatory": ["left_control"] }
|
"modifiers": {
|
||||||
|
"mandatory": [
|
||||||
|
"left_control"
|
||||||
|
]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"to": [{ "key_code": "page_down" }],
|
"to": [
|
||||||
|
{
|
||||||
|
"key_code": "page_down"
|
||||||
|
}
|
||||||
|
],
|
||||||
"type": "basic"
|
"type": "basic"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
@ -179,89 +291,20 @@
|
||||||
{
|
{
|
||||||
"from": {
|
"from": {
|
||||||
"key_code": "right_command",
|
"key_code": "right_command",
|
||||||
"modifiers": { "optional": ["any"] }
|
"modifiers": {
|
||||||
|
"optional": [
|
||||||
|
"any"
|
||||||
|
]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"to": [
|
"to": [
|
||||||
{
|
{
|
||||||
"key_code": "w",
|
"key_code": "w",
|
||||||
"modifiers": ["left_option"]
|
"modifiers": [
|
||||||
}
|
"left_option"
|
||||||
],
|
|
||||||
"type": "basic"
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
},
|
|
||||||
{
|
|
||||||
"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"
|
"type": "basic"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
Subproject commit e7e0a25ab4dd559977235d452481a9b62560a56a
|
Subproject commit d9a93f41a3224b752a5f4d72791d2f642cc03fb2
|
||||||
Loading…
Add table
Add a link
Reference in a new issue