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,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
|
@ -24,7 +25,7 @@ in {
|
|||
control.esc = "toggle(qwerty)"; # Control+Esc toggles qwerty
|
||||
shift.shift = "capslock"; # Both Shifts toggle Capslock
|
||||
|
||||
meta = {
|
||||
"meta+control+shift" = {
|
||||
# Mouse repeat macro
|
||||
"," = "macro2(300, 100, leftmouse)";
|
||||
"." = "macro2(300, 100, rightmouse)";
|
||||
|
@ -132,5 +133,7 @@ in {
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = [pkgs.keyd];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue