Retrieving layout information within tabs #7851
-
I'm currently making a script to restore Kitty terminals (OS windows, tabs, layouts) upon logins in i3. I am retrieving a Kitty window's layout from If this layout information is possible for Kitty to store/retrieve, could information be added to the JSON tree? This is similar to #1197, but this only pertains to window layouts inside of a Kitty tab, not the overall window positions and sizes of Kitty. Also, my script does the restoring, so this is a request to add this information to the tree, not for Kitty to do any restoring itself. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Not sure what you are asking for here. vsplit/hsplit is not window state but how the window split was originally created and is specific to the splits layout. Windows can be re-arranged after being created via the rotate or swap layout actions. I suppose one could add some information to @ls from the splits layout in particular. Not something I have time/interest to do myself, but PR is welcome. Relevant code is the as_dict() method in window.py and splits.py |
Beta Was this translation helpful? Give feedback.
Not sure what you are asking for here. vsplit/hsplit is not window state but how the window split was originally created and is specific to the splits layout. Windows can be re-arranged after being created via the rotate or swap layout actions. I suppose one could add some information to @ls from the splits layout in particular. Not something I have time/interest to do myself, but PR is welcome. Relevant code is the as_dict() method in window.py and splits.py