mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 08:06:50 +01:00
wip: even more niri twieaks
This commit is contained in:
parent
cfcbc0d40c
commit
f8b776f289
3 changed files with 54 additions and 13 deletions
16
modules/base/keyd.nix
Normal file
16
modules/base/keyd.nix
Normal 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)";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue