-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tabmode is great, but when I quit tabmode, I didn't restore the original layout. #6
Comments
Thank you for your feedback. I agree, that might be annoying. A few days ago, I have tried this: https://i3wm.org/docs/layout-saving.html; but I didn't go into it. Maybe I could leverage it. |
I am working on an experimental feature for saving and restore layouts: #7 My plan is to integrate this into the |
Moreover, The default behavior of I would expect something like the following in the i3 config:
The logic for saving and restoring a layout is a bit complex (because of the nature of i3). So I expect some minor bugs in the layout restoration, that is why I am planning to release a "beta" release (which will contain all those new features). I would really appreciate if you can provide feedback (enhancements). Please also report bugs (I am sure there are some at this development stage), so I can try to correct them. Please let me know if you appreciate this feature and all feedback you can provide. Thank you. |
This feature makes i3 nearly work right for me - excellent thankyou - basically all i want is each workspace in split mode to be an interactive overview that i can tab/ maximise into everything on the whole workspace in a simple clean way. 2 things i have noticed that can be improved -- 1-- if on multiple workspaces, the autolayout will be restored if leave to create/ view another workspace if you leave previous in split view, however if a new workspace is created/viewed and leave the current one in tab view - when return back to the older workspace it will be stuck in tab view with no way to get back to split view. 2-- flicking in and out of tab/ split view toggle - when moving from tab view back to split the selected window does not stick - it seems to jump back to the window that was selected when first leaving split view - should always remain on the chosen window when leaving both view modes. -- out of interest, this function is not in the original i3 is it? As i can see, the i3 node/window/leaf thing does not quite make sense to me when it comes to splitting windows in a different direction and then creating tabs from the workspace. If a workspace is not split, and all new windows are tiled in the same direction then all the windows will be tabbed together. As soon as you want to make a new window go in the other direction - as far as i can see the only way to do that is by splitting a window - then once this split is created any tab view is split up too, and gets a bit messy when trying to navigate up through tab parents and children. All i want is everything in a workspace layout to toggle in/out a simple clean single line tab view and then back again to split view, your code is the only way to get this am i correct? |
Thank you,creat a good script.
Before:
![image](https://user-images.githubusercontent.com/76139422/182199081-11d29644-74da-4b7c-b690-0eadcdba2746.png)
![image](https://user-images.githubusercontent.com/76139422/182199082-8ba9dcba-d39f-426f-aeca-c4b60137a5be.png)
After:
I didn't restore the original layout.
The text was updated successfully, but these errors were encountered: