mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
[PR #1225] [CLOSED] Wm container feature #1262
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/LGUG2Z/komorebi/pull/1225
Author: @pro470
Created: 1/10/2025
Status: ❌ Closed
Base:
master← Head:wm-container-feature📝 Commits (10+)
e4b34bdfeat: Add layout-related fields to Container struct with getters and setters37eae1bfeat: Add monocle window functionality to Container structb40c4bcfeat: Implementupdatemethod for Container to manage window layouts65e29defeat: Add NonZeroUsize import for container modulecf2c38ffeat: Add resize constraint enforcement for Container windows68d70bdfeat: Enhance workspace layout handling for containers with more than 2 windows7e22196added CopyGetters that I forgotd8e672dmade the window_count greater equals and fixed updated to restore for now need to discuss and maybe change that3bdacc4feat: Implement window boundary constraints in non-tiling mode6bc2d99fix: Update window positioning logic to use WindowsApi for rect retrieval📊 Changes
4 files changed (+683 additions, -182 deletions)
View changed files
📝
komorebi/src/container.rs(+473 -10)📝
komorebi/src/process_event.rs(+165 -139)📝
komorebi/src/stackbar_manager/mod.rs(+5 -3)📝
komorebi/src/workspace.rs(+40 -30)📄 Description
This is a PR about the idea I had of having something between Container and Workspace, but we don't. What I did is to make the Container more capable, a container has its own layout. So what did we break the answer is nothing everything is working I obviously didn't test all commands, but the important ones were tested, and it all worked. With that, we could have something between container and workspace but in the end, it is just a fancier container.
Pros:
Cons:
yeah, I think it is
I only have some things to discuss
I don't think this code is at your level so you have three options:
Anyway, see this code as a proof of concept and not like a real PR if I should then do something else then opening the PR. I don't know like opening a discussion or so. You need to tell me.
I didn't implement the commands because I don't know if you like to change how something works this would also change some command's behavior.
Yeah, that's it.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.