lib: add mkLznBinding

This commit is contained in:
Ching Pei Yang 2024-08-03 18:41:41 +02:00
parent b437242689
commit 42c60df933

View file

@ -67,6 +67,10 @@
mkLuaBinding binding.value action binding.description; mkLuaBinding binding.value action binding.description;
pushDownDefault = attr: mapAttrs (_: mkDefault) attr; pushDownDefault = attr: mapAttrs (_: mkDefault) attr;
mkLznBinding = mode: lhs: rhs: desc: {
inherit mode lhs rhs desc;
};
}; };
in in
binds binds