mirror of
https://github.com/harivansh-afk/nix.git
synced 2026-04-15 21:03:25 +00:00
322 lines
8.1 KiB
JSON
322 lines
8.1 KiB
JSON
{
|
|
"profiles": [
|
|
{
|
|
"complex_modifications": {
|
|
"rules": [
|
|
{
|
|
"description": "Caps Lock + 6 = Open Telegram",
|
|
"manipulators": [
|
|
{
|
|
"from": {
|
|
"key_code": "6",
|
|
"modifiers": {
|
|
"mandatory": [
|
|
"option"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"shell_command": "open -a 'Telegram'"
|
|
}
|
|
],
|
|
"type": "basic"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"description": "Caps Lock + 5 = Open Riptide",
|
|
"manipulators": [
|
|
{
|
|
"from": {
|
|
"key_code": "5",
|
|
"modifiers": {
|
|
"mandatory": [
|
|
"option"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"shell_command": "open -a 'Riptide-Beta'"
|
|
}
|
|
],
|
|
"type": "basic"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"description": "Caps Lock to Control (held) / Escape (tapped)",
|
|
"manipulators": [
|
|
{
|
|
"from": {
|
|
"key_code": "caps_lock",
|
|
"modifiers": {
|
|
"optional": [
|
|
"any"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "left_control"
|
|
}
|
|
],
|
|
"to_if_alone": [
|
|
{
|
|
"key_code": "escape"
|
|
}
|
|
],
|
|
"type": "basic"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"description": "Caps Lock + 1 = Open Dia",
|
|
"manipulators": [
|
|
{
|
|
"from": {
|
|
"key_code": "1",
|
|
"modifiers": {
|
|
"mandatory": [
|
|
"option"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"shell_command": "open -a 'Dia'"
|
|
}
|
|
],
|
|
"type": "basic"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"description": "Caps Lock + 2 = Open Ghostty",
|
|
"manipulators": [
|
|
{
|
|
"from": {
|
|
"key_code": "2",
|
|
"modifiers": {
|
|
"mandatory": [
|
|
"option"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"shell_command": "open -a 'Ghostty'"
|
|
}
|
|
],
|
|
"type": "basic"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"description": "Caps Lock + 3 = Open Messages",
|
|
"manipulators": [
|
|
{
|
|
"from": {
|
|
"key_code": "3",
|
|
"modifiers": {
|
|
"mandatory": [
|
|
"option"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"shell_command": "open -a 'Messages'"
|
|
}
|
|
],
|
|
"type": "basic"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"description": "Caps Lock + 4 = Open Signal",
|
|
"manipulators": [
|
|
{
|
|
"from": {
|
|
"key_code": "4",
|
|
"modifiers": {
|
|
"mandatory": [
|
|
"option"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"shell_command": "open -a 'Signal'"
|
|
}
|
|
],
|
|
"type": "basic"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"description": "Caps Lock + H = Left Arrow",
|
|
"manipulators": [
|
|
{
|
|
"from": {
|
|
"key_code": "h",
|
|
"modifiers": {
|
|
"mandatory": [
|
|
"option"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "left_arrow"
|
|
}
|
|
],
|
|
"type": "basic"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"description": "Caps Lock + J = Scroll Down",
|
|
"manipulators": [
|
|
{
|
|
"from": {
|
|
"key_code": "j",
|
|
"modifiers": {
|
|
"mandatory": [
|
|
"option"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"mouse_key": {
|
|
"vertical_wheel": 80
|
|
}
|
|
}
|
|
],
|
|
"type": "basic"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"description": "Caps Lock + K = Scroll Up",
|
|
"manipulators": [
|
|
{
|
|
"from": {
|
|
"key_code": "k",
|
|
"modifiers": {
|
|
"mandatory": [
|
|
"option"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"mouse_key": {
|
|
"vertical_wheel": -80
|
|
}
|
|
}
|
|
],
|
|
"type": "basic"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"description": "Caps Lock + L = Right Arrow",
|
|
"manipulators": [
|
|
{
|
|
"from": {
|
|
"key_code": "l",
|
|
"modifiers": {
|
|
"mandatory": [
|
|
"option"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "right_arrow"
|
|
}
|
|
],
|
|
"type": "basic"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"description": "Control + L = Right Arrow",
|
|
"manipulators": [
|
|
{
|
|
"from": {
|
|
"key_code": "l",
|
|
"modifiers": {
|
|
"mandatory": [
|
|
"left_control"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "right_arrow"
|
|
}
|
|
],
|
|
"type": "basic"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"description": "Control + H = Left Arrow",
|
|
"manipulators": [
|
|
{
|
|
"from": {
|
|
"key_code": "h",
|
|
"modifiers": {
|
|
"mandatory": [
|
|
"left_control"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "left_arrow"
|
|
}
|
|
],
|
|
"type": "basic"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"description": "Right Command = Ctrl+B (tmux prefix)",
|
|
"manipulators": [
|
|
{
|
|
"from": {
|
|
"key_code": "right_command",
|
|
"modifiers": {
|
|
"optional": [
|
|
"any"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "b",
|
|
"modifiers": [
|
|
"left_control"
|
|
]
|
|
}
|
|
],
|
|
"type": "basic"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "Default profile",
|
|
"selected": true,
|
|
"virtual_hid_keyboard": {
|
|
"country_code": 0,
|
|
"keyboard_type_v2": "ansi"
|
|
}
|
|
}
|
|
]
|
|
}
|