Hyprland icon indicating copy to clipboard operation
Hyprland copied to clipboard

Size limits on tiled windows

Open Readf0x opened this issue 1 year ago • 3 comments

Description

Would it be possible to make the minsize and maxsize window rule work when a window is tiled? Personally I don't need height limits on a tiled window, but it is painstaking to manually resize specific windows that I want tiled.

For example, scrcpy: Ideal: image Reality: image

It would be a nice quality of life feature. And yes, I know pseudo tiling exists, but it's not what I'm looking for. I want other tiles to fill the empty space (in specific cases).

Readf0x avatar Jan 11 '24 02:01 Readf0x

Some programs display "compressed" when they have been resized too small, such as Firefox.

It would be helpful to have Windows rules to limit the minimum size of the window.

图片

sakarie9 avatar Feb 19 '24 09:02 sakarie9

I am new to hyprland and I am also looking for a way to do that. I want to set a maximum width to all tiled windows. Even when there is only one tiled window, I usually do not want it to take all the horizontal space; webpages or terminal lines, for example, may be too wide. (I'd also like to keep the option of maximizing it when needed though.)

The tiling program Bismuth on kwin (KDE plasma's window manager) had an option called "Restrict window width: window-width/screen ratio" which allowed that.

kauesena avatar Apr 13 '24 02:04 kauesena