Hyprland icon indicating copy to clipboard operation
Hyprland copied to clipboard

[Feature Request] Support adding black bars to change the aspect ratio by limiting screen dimensions

Open blacklightpy opened this issue 1 year ago • 2 comments
trafficstars

I tried using reserved area, but that only affects app windows, not the bars and background. I want Hyprland to completely ignore the top and bottom area so I get a 16:9 display on my 5:4 monitor.

I tried setting resolution and adjusting the offset, but using an unlisted resolution, but that crashed Hyprland. I haven't tried setting modelines, because I didn't find a good resource on adding EDID lines yet. As far as I know, my monitor doesn't have good DDC/CI support. The native brightness adjuster itself is horrible.

The concept in general is called Letterboxing (Horizontal Bars) / Pillarboxing (Vertical Bars) / Windowboxing (Bars on all sides)

blacklightpy avatar Feb 23 '24 19:02 blacklightpy

not possible I believe.

vaxerski avatar Feb 23 '24 20:02 vaxerski

Alright then, I'll leave it as a feature request.

Reason: Microsoft Windows does this when mirroring displays. In Hyprland, when mirroring happens, the screen gets stretched on the secondary screens.

blacklightpy avatar Feb 25 '24 17:02 blacklightpy

I would also like this kind of feature, stretching the display on the target screen is not ideal at all. The best would be to get the smaller resolution from the 2 screens and use the smallest resolution on both screens and instead of stretching on the smaller screen just leave vertical/horizontal bars and keep the aspect ratio, gnome is already capable of doing this and as you know gnome is not known exactly for having the latest wayland features and protocols. It's a shame hyprland doesn't have it.

coffeeispower avatar Jun 11 '24 19:06 coffeeispower