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 = {
|
||||
xmonad.enable = true;
|
||||
xmonad.enableContribAndExtras = true;
|
||||
i3.enable = true;
|
||||
};
|
||||
|
||||
# mouse/touchpad
|
||||
|
|
|
@ -11,14 +11,14 @@
|
|||
|
||||
# xinput list < to show devices
|
||||
# https://unix.stackexchange.com/questions/90572/how-can-i-set-mouse-sensitivity-not-just-mouse-acceleration
|
||||
services.xserver.displayManager.sessionCommands = let
|
||||
mouseSpeed = name: speed: ''
|
||||
${pkgs.xlibs.xinput}/bin/xinput set-prop "${name}" "Coordinate Transformation Matrix" ${
|
||||
toString speed
|
||||
} 0 0 0 ${toString speed} 0 0 0 1 || true
|
||||
'';
|
||||
in lib.concatStringsSep "\n"
|
||||
[ (mouseSpeed "Logitech Gaming Mouse G400" 3.1) ];
|
||||
#services.xserver.displayManager.sessionCommands = let
|
||||
# mouseSpeed = name: speed: ''
|
||||
# ${pkgs.xlibs.xinput}/bin/xinput set-prop "${name}" "Coordinate Transformation Matrix" ${
|
||||
# toString speed
|
||||
# } 0 0 0 ${toString speed} 0 0 0 1 || true
|
||||
# '';
|
||||
#in lib.concatStringsSep "\n"
|
||||
#[ (mouseSpeed "Logitech Gaming Mouse G400" 3.1) ];
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue