mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
e4d321e1af
Fixes #1427 The regex for parsing DRM connector from ddcutil output only matched "DRM connector:" (with space), but newer versions of ddcutil output "DRM_connector:" (with underscore). This caused the connector field to be empty for all DDC monitors, making it impossible to distinguish between multiple identical monitors (e.g., two "Mi Monitor" displays on DP-2 and DP-3). The fix uses a character class [_ ] to match both formats. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>