From 80e019ff7c264e25d7475079da6e87b623cb4284 Mon Sep 17 00:00:00 2001 From: David Heiemeier Hansson Date: Thu, 26 Mar 2026 10:52:58 +0100 Subject: [PATCH] Fix check for the LG panel --- install/config/hardware/dell/fix-xps-ptl-display.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/config/hardware/dell/fix-xps-ptl-display.sh b/install/config/hardware/dell/fix-xps-ptl-display.sh index 912dc5bc..b19965af 100644 --- a/install/config/hardware/dell/fix-xps-ptl-display.sh +++ b/install/config/hardware/dell/fix-xps-ptl-display.sh @@ -2,7 +2,7 @@ # Power-saving features cause the screen to run at 10hz. if omarchy-hw-match "XPS" \ && omarchy-hw-intel-ptl \ - && grep -rqi "LG" /sys/class/drm/card*-eDP-*/edid 2>/dev/null; then + && test "$(od -An -tx1 -j8 -N2 /sys/class/drm/card*-eDP-*/edid 2>/dev/null | tr -d ' \n')" = "30e4"; then echo "Detected Dell XPS with LG OLED panel on Panther Lake, applying display fixes..."