cleanup
This commit is contained in:
parent
ca815d0fe7
commit
53beeb774c
1 changed files with 0 additions and 44 deletions
|
|
@ -1,44 +0,0 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
# LinearMouse configuration - reversed scrolling and no acceleration for mouse
|
||||
home.file.".config/linearmouse/linearmouse.json".text = builtins.toJSON {
|
||||
"$schema" = "https://schema.linearmouse.app/0.10.2";
|
||||
schemes = [
|
||||
{
|
||||
"if".device.productName = "MX Master 3 Mac";
|
||||
scrolling.reverse.vertical = true;
|
||||
pointer = {
|
||||
acceleration = 0;
|
||||
speed = 0.6;
|
||||
};
|
||||
buttons.mappings = [
|
||||
{ button = 3; action = "appExpose"; }
|
||||
{ button = 4; action = "missionControl"; }
|
||||
{ button = 2; action = "smartZoom"; }
|
||||
{ scroll = "left"; action = { keyPress = [ "leftArrow" ]; }; }
|
||||
{ scroll = "right"; action = { keyPress = [ "rightArrow" ]; }; }
|
||||
];
|
||||
}
|
||||
{
|
||||
"if".device = {
|
||||
vendorID = "0x004C";
|
||||
productID = "0x0269";
|
||||
};
|
||||
pointer = {
|
||||
acceleration = 0;
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
# Auto-start LinearMouse on login
|
||||
launchd.agents.linearmouse = {
|
||||
enable = true;
|
||||
config = {
|
||||
ProgramArguments = [ "/Applications/LinearMouse.app/Contents/MacOS/LinearMouse" ];
|
||||
RunAtLoad = true;
|
||||
KeepAlive = false;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue