1
Fork 0
mirror of https://github.com/thegeneralist01/config.git synced 2026-05-30 08:37:01 +02:00

karabiner: add new keybind

This commit is contained in:
TheGeneralist 2026-05-18 19:30:21 +02:00
parent cfcbcb9653
commit 5e709810e2
Signed by: thegeneralist01
SSH key fingerprint: SHA256:pp9qddbCNmVNoSjevdvQvM5z0DHN7LTa8qBMbcMq/R4
5 changed files with 84 additions and 3 deletions

View file

@ -1,6 +1,7 @@
{
homebrew-core,
homebrew-cask,
steipete-tap,
config,
...
}:
@ -16,7 +17,8 @@
taps."homebrew/homebrew-core" = homebrew-core;
taps."homebrew/homebrew-cask" = homebrew-cask;
taps."steipete/tap" = steipete-tap;
mutableTaps = false;
mutableTaps = true;
};
}

View file

@ -11,6 +11,7 @@ let
openHelium = "open -na Helium.app";
openHeliumNotifications = "open -na Helium.app --args https://x.com/i/notifications";
openHeliumT3Chat = "open -na Helium.app --args https://t3.chat/";
openHeliumExaSearch = "open -na Helium.app --args https://exa.ai/search";
numbers = [
"1"
@ -102,7 +103,6 @@ let
];
to_if_alone = [
{
hold_down_milliseconds = 500;
key_code = "escape";
}
];
@ -186,6 +186,25 @@ let
}
];
}
{
description = "Hyper+E opens Exa Search";
manipulators = [
{
from = {
key_code = "e";
modifiers = {
mandatory = hyperModifiers;
};
};
to = [
{
shell_command = openHeliumExaSearch;
}
];
type = "basic";
}
];
}
{
description = "Toggle Focus Mode with F6";
manipulators = [
@ -198,6 +217,44 @@ let
}
];
}
{
description = "Hyper+Q runs Add Quote shortcut";
manipulators = [
{
from = {
key_code = "q";
modifiers = {
mandatory = hyperModifiers;
};
};
to = [
{
shell_command = "shortcuts run 'Add Quote'";
}
];
type = "basic";
}
];
}
{
description = "Hyper+G runs Shades of Gray shortcut";
manipulators = [
{
from = {
key_code = "g";
modifiers = {
mandatory = hyperModifiers;
};
};
to = [
{
shell_command = "shortcuts run 'Shades of Gray'";
}
];
type = "basic";
}
];
}
];
};