From e9787717ebaab77c01ff08ac57357ef0b9a86164 Mon Sep 17 00:00:00 2001 From: Yan Lin Date: Sun, 15 Feb 2026 14:06:21 +0100 Subject: [PATCH] remove linearmouse --- hosts/darwin/home-default.nix | 23 ----------------------- hosts/darwin/system-default.nix | 1 - 2 files changed, 24 deletions(-) diff --git a/hosts/darwin/home-default.nix b/hosts/darwin/home-default.nix index d5658dd..bc680c9 100644 --- a/hosts/darwin/home-default.nix +++ b/hosts/darwin/home-default.nix @@ -118,15 +118,6 @@ }; }; - launchd.agents.linearmouse = { - enable = true; - config = { - ProgramArguments = [ "/Applications/LinearMouse.app/Contents/MacOS/LinearMouse" ]; - RunAtLoad = true; - KeepAlive = false; - }; - }; - home.activation.setFileAssociations = config.lib.dag.entryAfter ["writeBoundary"] '' run ${pkgs.duti}/bin/duti -s com.apple.TextEdit .txt all run ${pkgs.duti}/bin/duti -s com.apple.TextEdit .md all @@ -217,20 +208,6 @@ }; }; - 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; - }; - }]; - }; - home.file.".aerospace.toml".text = '' # Make all new windows floating by default [[on-window-detected]] diff --git a/hosts/darwin/system-default.nix b/hosts/darwin/system-default.nix index e85a5fe..4ec5d47 100644 --- a/hosts/darwin/system-default.nix +++ b/hosts/darwin/system-default.nix @@ -176,7 +176,6 @@ "aerospace" "hiddenbar" "keycastr" - "linearmouse" "localsend" "maccy" "snipaste"