zeroxoneafour / polonium

Autotile manager for Plasma 6
https://zeroxoneafour.github.io/polonium/
MIT License
924 stars 18 forks source link

Add Max Window Width for Tiled Windows #104

Open divinae opened 7 months ago

divinae commented 7 months ago

Is your feature request related to a problem? Please describe. I'm using an ultrawide monitor and it would be great to have an option to limit the width of a tiled window when it is the only one on a workspace. So the app doesn't take up the whole screen unnecessarily.

Describe the solution you'd like

Additional context https://www.reddit.com/r/swaywm/comments/uu2m1d/dont_use_full_width_for_first_windows/ https://github.com/leftwm/leftwm/issues/475 https://github.com/hyprwm/Hyprland/issues/2092

zeroxoneafour commented 7 months ago

Probably not possible due to how gaps are handled in kwin (no fancy gaps), but I'll keep an eye on this for plasma 6/v1.0.

Granitosaurus commented 7 months ago

If it's only one window on the workspace you can simply float it and resize it as needed. The only problem is that Polonium doesn't seem to remember float window sizes for now so you need to resize it every time :|

zeroxoneafour commented 5 months ago

Floating window sizes are out of the scope of this script right now. KWin should remember them (?) and retain them correctly. I don't see this feature coming to Polonium in the near future.