mirror of
https://github.com/cliffe/SecGen.git
synced 2026-02-21 19:28:02 +00:00
Avoids choosing resolutions greater than HD, as this causes font to be too small. Implemented a new function, get_best_resolution, to select the optimal resolution for connected outputs based on available modes. The update_resolutions function now utilizes this new logic to set the display resolution accordingly, falling back to auto mode if no suitable resolution is found.