mayushii: Set trackpoint sensitivity with sway

This commit is contained in:
Simon Bruder 2021-10-06 16:26:03 +02:00
parent 0e2c6a351d
commit 7886cb249a
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC
2 changed files with 1 additions and 5 deletions

View file

@ -48,9 +48,4 @@
# regularily by closing the lid # regularily by closing the lid
services.logind.lidSwitchDocked = config.services.logind.lidSwitch; services.logind.lidSwitchDocked = config.services.logind.lidSwitch;
hardware.trackpoint = {
enable = true;
device = "TPPS/2 Elan TrackPoint";
sensitivity = 255;
};
} }

View file

@ -50,6 +50,7 @@ in
}; };
} // (lib.optionalAttrs (nixosConfig.networking.hostName == "mayushii") { } // (lib.optionalAttrs (nixosConfig.networking.hostName == "mayushii") {
"type:touchpad".events = "disabled"; "type:touchpad".events = "disabled";
"2:10:TPPS/2_Elan_TrackPoint".pointer_accel = "-0.25";
}); });
keybindings = { keybindings = {