Open TotalChaos05 opened 11 months ago
If this gets implemented, it would also be desirable for a window to toggle maximize with the window maximize button and by double-clicking the title/header bar. Hyprland already does it this way.
I vouch for this. It would be very awesome if it is at least configurable. The owner of the main sway repo was against this because of his motive to just replicate i3 for wayland and nothing else. SwayFX is a very neat alternative that builds up on Sway.
Not sure if @WillPower3309 is also against this, but I might make a fork that includes this feature in C and open a PR.
Also, probably a good idea to wait until 1.9 is released and follow up with this.
In the meantime, @TotalChaos05 you can have nearly similar functionality by using marks:
bindsym $mod+f [con_mark="maximize"] floating disable; [con_mark="float"] floating enable, unmark "float"; [con_id=__focused__] mark --add --toggle "maximize"; [con_mark="maximize" floating] mark --add "float"; [con_mark="maximize"] floating enable, resize set 100 ppt 100 ppt, move position 0 0
Please fill out the following: