keyd: fix conflicting binds and add package to env
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
cdbcb7bca2
commit
ae1ec3a572
1 changed files with 4 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
with lib; let
|
with lib; let
|
||||||
|
@ -24,7 +25,7 @@ in {
|
||||||
control.esc = "toggle(qwerty)"; # Control+Esc toggles qwerty
|
control.esc = "toggle(qwerty)"; # Control+Esc toggles qwerty
|
||||||
shift.shift = "capslock"; # Both Shifts toggle Capslock
|
shift.shift = "capslock"; # Both Shifts toggle Capslock
|
||||||
|
|
||||||
meta = {
|
"meta+control+shift" = {
|
||||||
# Mouse repeat macro
|
# Mouse repeat macro
|
||||||
"," = "macro2(300, 100, leftmouse)";
|
"," = "macro2(300, 100, leftmouse)";
|
||||||
"." = "macro2(300, 100, rightmouse)";
|
"." = "macro2(300, 100, rightmouse)";
|
||||||
|
@ -132,5 +133,7 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = [pkgs.keyd];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue