hyprwm / Hypr

Hypr is a tiling window manager written in modern C++.
BSD 3-Clause "New" or "Revised" License
1.1k stars 33 forks source link

Resize windows with mouse or keyboard combination #39

Closed dontlookherepls closed 2 years ago

dontlookherepls commented 2 years ago

The problem and the solution

I think the main feature that this wm doesn't have is the possibility to resize windows without any kind of window rule in hypr.conf. Without this feature i can't use in the way i want my monitor, for exaple: in the same workspace i've got vs code and another application like telegram but don't want telegram taking half of the screen, just a little portion. like this:

Screenshot from 2022-03-10 00-18-18

Describe the solution you'd like I would like to see implemented in this wm an intuitive way to resize windows.

Hope everything is clear

vaxerski commented 2 years ago

You can resize them with the keyboard. See the splitratio dispatcher.

As for the mouse, it's on my todo list.

dontlookherepls commented 2 years ago

sorry if i reopen this thread but bind=SUPER,equals,splitratio,+ or bind=SUPERSHIFT,equals,splitratio,+ seems not working, at least they don't work correctly with english layout.

vaxerski commented 2 years ago

pull and recompile, it was added yesterday. (also it's only made for dwindling rn, not master)

vaxerski commented 2 years ago

splitratio for master up to the point it will probably be supported has been added in 82eeba5c94ecc14a48788d5cc83d8886b5af2c8a