fixing mouse issue
This commit is contained in:
parent
025c31e7ae
commit
f462f7f91a
2 changed files with 9 additions and 8 deletions
|
@ -42,6 +42,7 @@ in {
|
||||||
windowManager = {
|
windowManager = {
|
||||||
xmonad.enable = true;
|
xmonad.enable = true;
|
||||||
xmonad.enableContribAndExtras = true;
|
xmonad.enableContribAndExtras = true;
|
||||||
|
i3.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# mouse/touchpad
|
# mouse/touchpad
|
||||||
|
|
|
@ -11,14 +11,14 @@
|
||||||
|
|
||||||
# xinput list < to show devices
|
# xinput list < to show devices
|
||||||
# https://unix.stackexchange.com/questions/90572/how-can-i-set-mouse-sensitivity-not-just-mouse-acceleration
|
# https://unix.stackexchange.com/questions/90572/how-can-i-set-mouse-sensitivity-not-just-mouse-acceleration
|
||||||
services.xserver.displayManager.sessionCommands = let
|
#services.xserver.displayManager.sessionCommands = let
|
||||||
mouseSpeed = name: speed: ''
|
# mouseSpeed = name: speed: ''
|
||||||
${pkgs.xlibs.xinput}/bin/xinput set-prop "${name}" "Coordinate Transformation Matrix" ${
|
# ${pkgs.xlibs.xinput}/bin/xinput set-prop "${name}" "Coordinate Transformation Matrix" ${
|
||||||
toString speed
|
# toString speed
|
||||||
} 0 0 0 ${toString speed} 0 0 0 1 || true
|
# } 0 0 0 ${toString speed} 0 0 0 1 || true
|
||||||
'';
|
# '';
|
||||||
in lib.concatStringsSep "\n"
|
#in lib.concatStringsSep "\n"
|
||||||
[ (mouseSpeed "Logitech Gaming Mouse G400" 3.1) ];
|
#[ (mouseSpeed "Logitech Gaming Mouse G400" 3.1) ];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue