1
Fork 0
mirror of https://github.com/thegeneralist01/config.git synced 2026-07-21 19:05:19 +02:00

change hyperkey to esc

This commit is contained in:
TheGeneralist 2026-05-31 13:13:37 +02:00
parent 80166149a7
commit 30cc577558
Signed by: thegeneralist01
SSH key fingerprint: SHA256:pp9qddbCNmVNoSjevdvQvM5z0DHN7LTa8qBMbcMq/R4

View file

@ -87,13 +87,30 @@ let
# manipulators = manipulators; # manipulators = manipulators;
# } # }
{ {
description = "Hyperkey"; description = "Caps Lock to Escape";
manipulators = [ manipulators = [
{ {
from = { from = {
key_code = "caps_lock"; key_code = "caps_lock";
modifiers = { optional = [ "any" ]; }; modifiers = { optional = [ "any" ]; };
}; };
to = [
{
key_code = "escape";
}
];
type = "basic";
}
];
}
{
description = "Escape to Hyperkey";
manipulators = [
{
from = {
key_code = "escape";
modifiers = { optional = [ "any" ]; };
};
to = [ to = [
{ {
key_code = "left_shift"; key_code = "left_shift";
@ -104,11 +121,6 @@ let
]; ];
} }
]; ];
to_if_alone = [
{
key_code = "escape";
}
];
type = "basic"; type = "basic";
} }
]; ];