浏览代码

try change trakcpoint sensitivity, but not work

Johan Rong 2 周之前
父节点
当前提交
04882723d1
共有 2 个文件被更改,包括 8 次插入 和 1 次删除
  1. 1 1
      home/modules/desktop/hyprland/lua/modules/input.lua
  2. 7 0
      hosts/nixstation/home/hyprland.nix

+ 1 - 1
home/modules/desktop/hyprland/lua/modules/input.lua

@@ -21,4 +21,4 @@ hl.gesture({
     fingers = 3,
     direction = "horizontal",
     action = "workspace"
-})
+})

+ 7 - 0
hosts/nixstation/home/hyprland.nix

@@ -20,5 +20,12 @@
     ];
 
     defaultCursorMonitor = "DP-2";
+
+    extraLua = ''
+      hl.device({
+        name = "tpps/2-elan-trackpoint",
+        sensitivity = -1,
+    })
+    ''
   };
 }