finetune mouse acceleration
This commit is contained in:
parent
403b11c183
commit
c1fda700de
4 changed files with 22 additions and 1 deletions
|
|
@ -15,6 +15,14 @@
|
||||||
../../../modules/papis.nix
|
../../../modules/papis.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# ThinkPad-specific GNOME dconf overrides
|
||||||
|
dconf.settings = {
|
||||||
|
"org/gnome/desktop/peripherals/mouse" = {
|
||||||
|
speed = 0.0; # Match libinput accelSpeed for TrackPoint
|
||||||
|
accel-profile = "flat"; # Match libinput accelProfile (no acceleration)
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
programs.yt-dlp-custom = {
|
programs.yt-dlp-custom = {
|
||||||
enable = true;
|
enable = true;
|
||||||
downloadDir = "~/Downloads/web-video";
|
downloadDir = "~/Downloads/web-video";
|
||||||
|
|
|
||||||
|
|
@ -111,6 +111,13 @@
|
||||||
accelProfile = "adaptive";
|
accelProfile = "adaptive";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# TrackPoint configuration (treated as mouse device)
|
||||||
|
services.libinput.mouse = {
|
||||||
|
accelSpeed = "0.0"; # Higher sensitivity for trackpoint (-1.0 to 1.0)
|
||||||
|
accelProfile = "flat"; # No acceleration curve for precise control
|
||||||
|
middleEmulation = false; # ThinkPad trackpoints have real middle buttons
|
||||||
|
};
|
||||||
|
|
||||||
# Power management for laptops
|
# Power management for laptops
|
||||||
powerManagement = {
|
powerManagement = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
|
|
@ -72,7 +72,7 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
touchpad = {
|
touchpad = {
|
||||||
naturalScrolling = true;
|
naturalScrolling = true;
|
||||||
tapping = true;
|
tapping = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,12 @@ in
|
||||||
cursor-theme = "Adwaita";
|
cursor-theme = "Adwaita";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Touchpad settings
|
||||||
|
"org/gnome/desktop/peripherals/touchpad" = {
|
||||||
|
tap-to-click = false;
|
||||||
|
natural-scroll = true;
|
||||||
|
};
|
||||||
|
|
||||||
# Desktop background
|
# Desktop background
|
||||||
"org/gnome/desktop/background" = {
|
"org/gnome/desktop/background" = {
|
||||||
picture-uri = "file:///home/yanlin/Documents/Library/nixos-nineish-dark@4k.png";
|
picture-uri = "file:///home/yanlin/Documents/Library/nixos-nineish-dark@4k.png";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue