wip: even more niri twieaks

This commit is contained in:
Nickolaj Jepsen 2025-05-06 23:10:08 +02:00
parent cfcbc0d40c
commit f8b776f289
3 changed files with 54 additions and 13 deletions

16
modules/base/keyd.nix Normal file
View file

@ -0,0 +1,16 @@
{...}: {
services.keyd = {
enable = true;
keyboards.default = {
ids = [ "*" ];
settings = {
main = {
# Bind mouse-foward to meta+middlemouse if held
mouse2 = "timeout(mouse2, 150, M-middlemouse)";
# Bind mouse-back to meta if held
mouse1 = "overload(meta, mouse1)";
};
};
};
};
}