system/input: swap esc using keyd
This commit is contained in:
parent
9a87dc63c3
commit
8ca9e393ea
1 changed files with 13 additions and 2 deletions
|
|
@ -6,7 +6,18 @@
|
||||||
"-arinterval 15"
|
"-arinterval 15"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
xkb.options = "caps:escape";
|
|
||||||
};
|
};
|
||||||
console.useXkbConfig = true;
|
services.keyd = {
|
||||||
|
enable = true;
|
||||||
|
keyboards = {
|
||||||
|
default = {
|
||||||
|
ids = [ "*" ];
|
||||||
|
settings = {
|
||||||
|
main = {
|
||||||
|
capslock = "overload(control, esc)";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue