add linearmouse module
This commit is contained in:
parent
48b0aa2ef6
commit
ca4f1226b7
5 changed files with 50 additions and 18 deletions
17
modules/peripheral/home.nix
Normal file
17
modules/peripheral/home.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
home.file.".config/linearmouse/linearmouse.json".text = builtins.toJSON {
|
||||
"$schema" = "https://app.linearmouse.org/schema/0.10.0";
|
||||
schemes = [{
|
||||
"if" = {
|
||||
device.category = "mouse";
|
||||
};
|
||||
scrolling.reverse.vertical = true;
|
||||
pointer = {
|
||||
acceleration = 0;
|
||||
speed = 0.6;
|
||||
};
|
||||
}];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue