mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-07-09 14:42:44 +02:00
feat(wm): add container resizing
The last remaining feature to bring komorebi to feature parity with yatta. Implementing this in komorebi was a lot harder because I had to make sure that resizing worked even when the layout is flipped (in any one of the three possible ways). In yatta, resize dimension information was stored on the window. In komorebi, I initially tried storing this information on the Container itself, but eventually decided to store it for all Containers in the Workspace. There is some additional work required to ensure that this Vec is kept up to date whenever containers are added or destroyed, but it all seems to be working fairly well. I got rid of the iterative fibonacci code that I adapted from leftwm and went back and reworked the recursive code that I was using in yatta (originally from umberwm I think) to integrate layout flipping. At least for me, it is much easier to reason about.
This commit is contained in:
@@ -100,7 +100,10 @@ sample [komorebi.ahk](komorebi.sample.ahk) AHK script that you can use as a star
|
||||
- [x] Move focused window container in direction
|
||||
- [x] Move focused window container to monitor
|
||||
- [x] Move focused window container to workspace
|
||||
- [x] Resize window container in direction
|
||||
- [ ] Resize child window containers by split ratio
|
||||
- [x] Mouse drag to swap window container position
|
||||
- [x] Mouse drag to resize window container
|
||||
- [x] Configurable workspace and container gaps
|
||||
- [x] BSP tree layout
|
||||
- [x] Flip BSP tree layout horizontally or vertically
|
||||
@@ -112,7 +115,6 @@ sample [komorebi.ahk](komorebi.sample.ahk) AHK script that you can use as a star
|
||||
- [x] Toggle monocle window
|
||||
- [x] Pause all window management
|
||||
- [x] View window manager state
|
||||
- [ ] Configure split ratio like *bspwm*
|
||||
|
||||
## Development
|
||||
|
||||
|
||||
Reference in New Issue
Block a user