Ensure that the display description is parsed without any adapter translations or parenthetical remarks by trimming anything following a parenthesis in the description string. This change fixes the invalidation of hardware description strings in hyprland.
wlr-randr (and hyprctl monitors) may return attional adapter information behind tyhe description, which invalidates the hardware description string, e.g.
LG Electronics LG ULTRAGEAR 1231234F (DP-2 via HDMI) -> desc:LG Electronics LG ULTRAGEAR 1231234F (DP-2,
Ensure that the display description is parsed without any adapter translations or parenthetical remarks by trimming anything following a parenthesis in the description string. This change fixes the invalidation of hardware description strings in hyprland.
wlr-randr (and hyprctl monitors) may return attional adapter information behind tyhe description, which invalidates the hardware description string, e.g. LG Electronics LG ULTRAGEAR 1231234F (DP-2 via HDMI) -> desc:LG Electronics LG ULTRAGEAR 1231234F (DP-2,