Only apply enable_psr=0 to xps oled machines

This commit is contained in:
David Heinemeier Hansson
2026-04-15 16:17:14 +02:00
parent bf802df8bd
commit 7bfd848c93
3 changed files with 9 additions and 5 deletions
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
# Match Dell XPS systems with LG OLED panel on Intel Panther Lake (Xe3) GPU.
omarchy-hw-match "XPS" \
&& omarchy-hw-intel-ptl \
&& test "$(od -An -tx1 -j8 -N2 /sys/class/drm/card*-eDP-*/edid 2>/dev/null | tr -d ' \n')" = "30e4"