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:
parent
80166149a7
commit
30cc577558
1 changed files with 18 additions and 6 deletions
|
|
@ -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";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue