input stuff

This commit is contained in:
LavaDesu 2021-05-12 10:31:20 +07:00
parent 09fdce84d3
commit 9d69b3ca78
Signed by: cilly
GPG key ID: 6500251E087653C9

View file

@ -28,6 +28,10 @@
displayManager = { displayManager = {
lightdm.enable = lib.mkForce false; lightdm.enable = lib.mkForce false;
startx.enable = true; startx.enable = true;
xserverArgs = [
"-ardelay 250"
"-arinterval 15"
];
}; };
desktopManager.xterm.enable = false; desktopManager.xterm.enable = false;
libinput.enable = true; libinput.enable = true;
@ -35,11 +39,12 @@
Section "InputClass" Section "InputClass"
Identifier "mouse accel" Identifier "mouse accel"
Driver "libinput" Driver "libinput"
MatchIsPointer "on" MatchIsPointer "yes"
Option "AccelProfile" "flat" Option "AccelProfile" "flat"
Option "AccelSpeed" "0" Option "AccelSpeed" "0"
EndSection EndSection
''; '';
xkbOptions = "caps:swapescape";
windowManager.i3 = { windowManager.i3 = {
enable = true; enable = true;
package = pkgs.i3-gaps; package = pkgs.i3-gaps;
@ -54,6 +59,5 @@
xclip xclip
]; ];
}; };
xkbOptions = "ctrl:swapescape";
}; };
} }