fix mouse accel

This commit is contained in:
LavaDesu 2021-05-12 11:04:53 +07:00
parent 9d69b3ca78
commit c88b07b052
Signed by: cilly
GPG key ID: 6500251E087653C9

View file

@ -34,16 +34,13 @@
]; ];
}; };
desktopManager.xterm.enable = false; desktopManager.xterm.enable = false;
libinput.enable = true; libinput = {
config = '' enable = true;
Section "InputClass" mouse = {
Identifier "mouse accel" accelSpeed = "0";
Driver "libinput" accelProfile = "flat";
MatchIsPointer "yes" };
Option "AccelProfile" "flat" };
Option "AccelSpeed" "0"
EndSection
'';
xkbOptions = "caps:swapescape"; xkbOptions = "caps:swapescape";
windowManager.i3 = { windowManager.i3 = {
enable = true; enable = true;