summaryrefslogtreecommitdiff
path: root/xorg_device_configs
diff options
context:
space:
mode:
authorpants <niklasjo2004@gmail.com>2026-09-21 14:16:02 -0700
committerpants <niklasjo2004@gmail.com>2026-09-21 14:16:02 -0700
commit40f81d08239763c2b5c05af63f17e3fd098d978d (patch)
treeb4475da076490a5fadc69904ad26bcf4ac46b9fc /xorg_device_configs
init
Diffstat (limited to 'xorg_device_configs')
-rw-r--r--xorg_device_configs/10-amdgpu.conf6
-rw-r--r--xorg_device_configs/20-display.conf13
-rw-r--r--xorg_device_configs/40-libinput.conf24
3 files changed, 43 insertions, 0 deletions
diff --git a/xorg_device_configs/10-amdgpu.conf b/xorg_device_configs/10-amdgpu.conf
new file mode 100644
index 0000000..b6b0c9f
--- /dev/null
+++ b/xorg_device_configs/10-amdgpu.conf
@@ -0,0 +1,6 @@
+Section "OutputClass"
+ Identifier "AMD"
+ Driver "amdgpu"
+ Option "VariableRefresh" "true"
+ Option "TearFree" "true"
+EndSection
diff --git a/xorg_device_configs/20-display.conf b/xorg_device_configs/20-display.conf
new file mode 100644
index 0000000..3d0c033
--- /dev/null
+++ b/xorg_device_configs/20-display.conf
@@ -0,0 +1,13 @@
+Section "Monitor"
+ Identifier "eDP-1"
+ Option "DefaultDepth" "16"
+EndSection
+
+Section "Screen"
+ Identifier "Screen 0"
+ Device "card0"
+ Monitor "eDP-1"
+ SubSection "Display"
+ Depth 16
+ EndSubSection
+EndSection
diff --git a/xorg_device_configs/40-libinput.conf b/xorg_device_configs/40-libinput.conf
new file mode 100644
index 0000000..c7affe6
--- /dev/null
+++ b/xorg_device_configs/40-libinput.conf
@@ -0,0 +1,24 @@
+Section "InputClass"
+ Identifier "Touchpad"
+ MatchIsTouchpad "on"
+ Driver "libinput"
+
+ # General settings
+ Option "Tapping" "true" # Enable tap-to-click
+ Option "NaturalScrolling" "false" # Disable natural scrolling
+
+ # Scrolling methods
+ Option "ScrollMethod" "twofingeredge"
+
+ # Click methods
+ Option "ClickMethod" "buttonareas+clickfinger"
+ Option "MiddleEmulation" "true"
+
+ # Accel profiles
+ Option "AccelProfile" "flat"
+ Option "AccelSpeed" "1.0"
+
+ # Typing and trackpoint settings
+ Option "DisableWhileTyping" "true"
+ Option "DisableWhileTapping" "true"
+EndSection