فهرست منبع

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,
+    })
+    ''
   };
 }