mirror of
https://github.com/thegeneralist01/config.git
synced 2026-10-09 12:55:25 +02:00
karabiner: restructure Hyper+C/V/L — native apps and web variants
- Hyper+C: ChatGPT app | Shift+Hyper+C: ChatGPT web - Hyper+V: Claude app | Shift+Hyper+V: Claude web - Hyper+L: ChatGPT web (incognito) | Shift+Hyper+L: Claude web (incognito)
This commit is contained in:
parent
81a9e184cc
commit
e763a2aaea
1 changed files with 79 additions and 41 deletions
|
|
@ -563,7 +563,45 @@ let
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
description = "Hyper+V opens ChatGPT (incognito)";
|
description = "Hyper+C opens or focuses ChatGPT app";
|
||||||
|
manipulators = [
|
||||||
|
{
|
||||||
|
from = {
|
||||||
|
key_code = "c";
|
||||||
|
modifiers = {
|
||||||
|
mandatory = hyperModifiers;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
to = [
|
||||||
|
{
|
||||||
|
shell_command = "open -a ChatGPT.app";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
type = "basic";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
{
|
||||||
|
description = "Shift+Hyper+C opens ChatGPT web";
|
||||||
|
manipulators = [
|
||||||
|
{
|
||||||
|
from = {
|
||||||
|
key_code = "c";
|
||||||
|
modifiers = {
|
||||||
|
mandatory = hyperModifiers ++ [ "left_shift" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
to = [
|
||||||
|
{
|
||||||
|
shell_command = openChatGPT;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
type = "basic";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
{
|
||||||
|
description = "Hyper+V opens or focuses Claude app";
|
||||||
manipulators = [
|
manipulators = [
|
||||||
{
|
{
|
||||||
from = {
|
from = {
|
||||||
|
|
@ -572,6 +610,44 @@ let
|
||||||
mandatory = hyperModifiers;
|
mandatory = hyperModifiers;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
to = [
|
||||||
|
{
|
||||||
|
shell_command = "open -a Claude.app";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
type = "basic";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
{
|
||||||
|
description = "Shift+Hyper+V opens Claude web";
|
||||||
|
manipulators = [
|
||||||
|
{
|
||||||
|
from = {
|
||||||
|
key_code = "v";
|
||||||
|
modifiers = {
|
||||||
|
mandatory = hyperModifiers ++ [ "left_shift" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
to = [
|
||||||
|
{
|
||||||
|
shell_command = openClaude;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
type = "basic";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
{
|
||||||
|
description = "Hyper+L opens ChatGPT web (incognito)";
|
||||||
|
manipulators = [
|
||||||
|
{
|
||||||
|
from = {
|
||||||
|
key_code = "l";
|
||||||
|
modifiers = {
|
||||||
|
mandatory = hyperModifiers;
|
||||||
|
};
|
||||||
|
};
|
||||||
to = [
|
to = [
|
||||||
{
|
{
|
||||||
shell_command = openChatGPTIncognito;
|
shell_command = openChatGPTIncognito;
|
||||||
|
|
@ -582,51 +658,13 @@ let
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
description = "Hyper+C opens ChatGPT";
|
description = "Shift+Hyper+L opens Claude web (incognito)";
|
||||||
manipulators = [
|
|
||||||
{
|
|
||||||
from = {
|
|
||||||
key_code = "c";
|
|
||||||
modifiers = {
|
|
||||||
mandatory = hyperModifiers;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
to = [
|
|
||||||
{
|
|
||||||
shell_command = openChatGPT;
|
|
||||||
}
|
|
||||||
];
|
|
||||||
type = "basic";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
}
|
|
||||||
{
|
|
||||||
description = "Hyper+L opens Claude";
|
|
||||||
manipulators = [
|
manipulators = [
|
||||||
{
|
{
|
||||||
from = {
|
from = {
|
||||||
key_code = "l";
|
key_code = "l";
|
||||||
modifiers = {
|
modifiers = {
|
||||||
mandatory = hyperModifiers;
|
mandatory = hyperModifiers ++ [ "left_shift" ];
|
||||||
};
|
|
||||||
};
|
|
||||||
to = [
|
|
||||||
{
|
|
||||||
shell_command = openClaude;
|
|
||||||
}
|
|
||||||
];
|
|
||||||
type = "basic";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
}
|
|
||||||
{
|
|
||||||
description = "Hyper+; opens Claude (incognito)";
|
|
||||||
manipulators = [
|
|
||||||
{
|
|
||||||
from = {
|
|
||||||
key_code = "semicolon";
|
|
||||||
modifiers = {
|
|
||||||
mandatory = hyperModifiers;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
to = [
|
to = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue