Skip to content

Remember split size? #957

Answered by LGUG2Z
justusthane asked this question in Q&A
Aug 16, 2024 · 2 comments · 4 replies
Discussion options

You must be logged in to vote

You can assign binds for komorebi save-resize <filepath> and komorebic load-resize <filepath> to achieve this:

https://lgug2z.github.io/komorebi/cli/save-resize.html
https://lgug2z.github.io/komorebi/cli/load-resize.html

Once a window is removed from the window manager's visibility tree (eg. windows are minimized or closed) any state associated with those windows is also removed (resize dimensions are stored alongside window containers) - the only way around this is to serialize and write these ephemeral resize dimensions to disk and then load them up again in the future whenever you want them reapplied.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@justusthane
Comment options

@justusthane
Comment options

@gazpachoking
Comment options

Comment options

You must be logged in to vote
1 reply
@justusthane
Comment options

Answer selected by justusthane
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants