From 435613ab32cc0da17c0970aa158bfc7752ae6d53 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Thu, 26 Mar 2026 09:24:50 +0100 Subject: [PATCH] Use new omarchy-hw-match --- install/config/hardware/dell/fix-xps-haptic-touchpad.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/config/hardware/dell/fix-xps-haptic-touchpad.sh b/install/config/hardware/dell/fix-xps-haptic-touchpad.sh index 9ef98e89..92313492 100644 --- a/install/config/hardware/dell/fix-xps-haptic-touchpad.sh +++ b/install/config/hardware/dell/fix-xps-haptic-touchpad.sh @@ -4,7 +4,7 @@ # This udev rule keeps the I2C controller always on to prevent that. # Applies to any Dell XPS with the Synaptics haptic touchpad (06CB:D01A). -if cat /sys/class/dmi/id/product_name 2>/dev/null | grep -qi "XPS" \ +if omarchy-hw-match "XPS" \ && ls /sys/bus/i2c/devices/i2c-VEN_06CB:00 2>/dev/null; then # Disable runtime PM for I2C controller so haptic state isn't lost