Closed DiXN closed 2 months ago
With GDK the screen height and width can be determined. This has the added benefit that if scaling is applied, it reports the final screen width and height after scaling. This solves various scaling issues, as reported in https://github.com/end-4/dots-hyprland/issues/424 and https://github.com/end-4/dots-hyprland/issues/417. I also had some ideas on how to consider different screen sizes for multiple monitors in https://github.com/end-4/dots-hyprland/issues/424#issuecomment-2067395463.
I've made ags get monitor size from hyprctl 18de9e2fea19f919dce04c1a6dafa7b49903716a, which is better for #424, I'll explain why in that thread Thanks for your PR anyway!
With GDK the screen height and width can be determined. This has the added benefit that if scaling is applied, it reports the final screen width and height after scaling. This solves various scaling issues, as reported in https://github.com/end-4/dots-hyprland/issues/424 and https://github.com/end-4/dots-hyprland/issues/417. I also had some ideas on how to consider different screen sizes for multiple monitors in https://github.com/end-4/dots-hyprland/issues/424#issuecomment-2067395463.