sway: configure mouse
This commit is contained in:
parent
2457164e1b
commit
9c664ca2ac
3 changed files with 22 additions and 0 deletions
|
@ -18,6 +18,7 @@
|
|||
./fonts.nix
|
||||
./sound.nix
|
||||
./bluetooth.nix
|
||||
./mouse.nix
|
||||
./locale.nix
|
||||
./users.nix
|
||||
./containers.nix
|
||||
|
|
15
system/mouse.nix
Normal file
15
system/mouse.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
# Allow configuring Logitech Peripherals
|
||||
services.ratbagd.enable = true;
|
||||
|
||||
# Sway does not undersand high resolution scroll wheels
|
||||
# I don't need this, so I disable it
|
||||
environment.etc."libinput/local-overrides.quirks".text = ''
|
||||
[Logitech G502 X PLUS]
|
||||
MatchUdevType=mouse
|
||||
MatchBus=usb
|
||||
MatchVendor=0x046D
|
||||
MatchProduct=0x4099
|
||||
AttrEventCode=-REL_WHEEL_HI_RES
|
||||
'';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue