1
Fork 0
mirror of https://github.com/thegeneralist01/config.git synced 2026-10-09 21:03:30 +02:00

karabiner: add Hyper+1-4 input source switching, move Claude to Hyper+F, update Logitech mouse product id

This commit is contained in:
TheGeneralist 2026-10-04 23:50:56 +02:00
parent a0f4999dbe
commit 6fa203a8fa
Signed by: thegeneralist01
SSH key fingerprint: SHA256:pp9qddbCNmVNoSjevdvQvM5z0DHN7LTa8qBMbcMq/R4

View file

@ -118,7 +118,7 @@ let
logitechMouseIdentifiers = { logitechMouseIdentifiers = {
vendor_id = 1133; vendor_id = 1133;
product_id = 50503; product_id = 50504;
is_pointing_device = true; is_pointing_device = true;
}; };
@ -341,6 +341,59 @@ let
} }
]; ];
} }
{
description = "Hyper+1/2/3/4 select English, Russian, German, or Azerbaijani input";
manipulators = [
{
from = {
key_code = "1";
modifiers.mandatory = hyperModifiers;
};
to = [
{
select_input_source.input_source_id = "com.apple.keylayout.US";
}
];
type = "basic";
}
{
from = {
key_code = "2";
modifiers.mandatory = hyperModifiers;
};
to = [
{
select_input_source.input_source_id = "com.apple.keylayout.RussianWin";
}
];
type = "basic";
}
{
from = {
key_code = "3";
modifiers.mandatory = hyperModifiers;
};
to = [
{
select_input_source.input_source_id = "com.apple.keylayout.German-DIN-2137";
}
];
type = "basic";
}
{
from = {
key_code = "4";
modifiers.mandatory = hyperModifiers;
};
to = [
{
select_input_source.input_source_id = "com.apple.keylayout.Azeri";
}
];
type = "basic";
}
];
}
{ {
description = "Hyper+Return opens cmux"; description = "Hyper+Return opens cmux";
manipulators = [ manipulators = [
@ -601,11 +654,11 @@ let
]; ];
} }
{ {
description = "Hyper+V opens or focuses Claude app"; description = "Hyper+F opens or focuses Claude app";
manipulators = [ manipulators = [
{ {
from = { from = {
key_code = "v"; key_code = "f";
modifiers = { modifiers = {
mandatory = hyperModifiers; mandatory = hyperModifiers;
}; };
@ -620,11 +673,11 @@ let
]; ];
} }
{ {
description = "Shift+Hyper+V opens Claude web"; description = "Shift+Hyper+F opens Claude web";
manipulators = [ manipulators = [
{ {
from = { from = {
key_code = "v"; key_code = "f";
modifiers = { modifiers = {
mandatory = hyperModifiers ++ [ "left_shift" ]; mandatory = hyperModifiers ++ [ "left_shift" ];
}; };