diff --git a/README.md b/README.md index b8c2547..028759a 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,7 @@ Files in the `udev` folder should be placed in `/etc/udev/rules.d` and owned by - `backlight.rules`: Gives normal users access to backlight controls - `touchpad_input.rules`: Maps the touchpad's variable `/dev/input/event*` path to the static `/dev/input/touchpad` for VFIO passthrough -FIles in the `xorg` folder should be placed in `/etc/X11/xorg.conf.d` and owned by `root`. +FIles in the `xorg` folder should be placed in `/usr/share/X11/xorg.conf.d` and owned by `root`. -- `10-monitor.conf`: Enables 165Hz on boot. +- `10-nvidia-refresh-rate.conf`: Enables 165Hz on boot when using the nvidia driver +- `20-mouse-options.conf`: Sets options for touchpad and mouse diff --git a/xorg/10-monitor.conf b/xorg/10-monitor.conf deleted file mode 100644 index 96cb34d..0000000 --- a/xorg/10-monitor.conf +++ /dev/null @@ -1,6 +0,0 @@ -Section "Screen" - Identifier "Screen 0" - Subsection "Display" - Modes "2560x1600_165" - EndSubsection -EndSection diff --git a/xorg/10-nvidia-refresh-rate.conf b/xorg/10-nvidia-refresh-rate.conf new file mode 100644 index 0000000..dbd5a82 --- /dev/null +++ b/xorg/10-nvidia-refresh-rate.conf @@ -0,0 +1,6 @@ +Section "Screen" + Identifier "Screen 0" + Subsection "Display" + Modes "2560x1600_165" + EndSubsection +EndSection \ No newline at end of file diff --git a/xorg/20-mouse-options.conf b/xorg/20-mouse-options.conf new file mode 100644 index 0000000..75f1e60 --- /dev/null +++ b/xorg/20-mouse-options.conf @@ -0,0 +1,15 @@ +Section "InputClass" + Identifier "MSFT0001:00 06CB:CE44 Touchpad" + MatchProduct "MSFT0001:00 06CB:CE44 Touchpad" + Option "TransformationMatrix" "5 0 0 0 5 0 0 0 1" + Option "AccelProfile" "flat" + Option "NaturalScrolling" "on" + Option "Tapping" "off" +EndSection + +Section "InputClass" + Identifier "pointer:Razer Razer DeathAdder Elite" + MatchProduct "Razer Razer DeathAdder Elite" + MatchIsPointer "on" + Option "AccelSpeed" "-0.65" +EndSection \ No newline at end of file