mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 16:16:50 +01:00
fix: update keyd setup
This commit is contained in:
parent
8bdd7c5448
commit
e3b550bd82
1 changed files with 4 additions and 4 deletions
|
|
@ -1,12 +1,12 @@
|
|||
_: {
|
||||
services.keyd = {
|
||||
enable = true;
|
||||
keyboards.default = {
|
||||
ids = ["*"];
|
||||
keyboards.mouse = {
|
||||
ids = [
|
||||
"046d:c051:4ae65a29" # Work mouse
|
||||
];
|
||||
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