Keyd : Add a template to disable it per-app.

This commit is contained in:
Dmitry Voronin 2024-10-14 18:06:47 +03:00
parent c3c40ed6f6
commit 96f62a0ac9
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -0,0 +1,19 @@
{ pkgs, ... }:
let
disable = [
];
in
{
file = (pkgs.formats.ini { }).generate "KeydDisableConfig" (
builtins.listToAttrs (builtins.map (app:
{
name = app;
value = {
"capslock" = "capslock";
"escape" = "escape";
"leftcontrol" = "leftcontrol";
};
}
) disable)
);
}