When using Hyprland, creating a headless output causes issues since it doesn't have a description by default.
This causes extra monitors to be selected since output->identifier is an empty string which results in the strstr comparison to not return NULL in these cases.
This PR addresses the problem by checking if output->identifier is empty before performing strstr.
When using Hyprland, creating a headless output causes issues since it doesn't have a description by default.
This causes extra monitors to be selected since output->identifier is an empty string which results in the strstr comparison to not return NULL in these cases.
This PR addresses the problem by checking if output->identifier is empty before performing strstr.