Hyprland
Hyprland copied to clipboard
Size limits on tiled windows
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:
Reality:
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).
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.
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.