auto split none for container with one window #7950
Labels
enhancement
New feature or incremental improvement
window-management
Configuring and arranging toplevels
Please read the following before submitting:
I apologize, but
split none
already exists insway
and is still not implemented ini3
.My current flow.
I recently started using the
workspace_layout tabbed
setting and found it very handy. I also have thesplith
,splitv
andsplit none
bindings for when I want to split/undo a container, while never using thetabbed
orstacked
layout on child, so I have no bindings for switching the layout. So I got a workflow with tabs inside which are splits.The feature request
Make
split none
respect theworkspace_layout
option:If I open a new workspace with one window (
H[T[foot]]
), then split it (H[T[H[foot foot]]]
), work a bit, after closing or moving the second window I getH[T[H[foot]]]
. Now if I realize I don't want to split the container anymore I usesplit none
and expect my layout to revert toH[T[foot]]
but instead I getH[foot]
.Note: if the workspace had multiple tabs (
H[T[foot foot]]
), everything works fine.New option for automatic undo split
It would be cool to have a setting to automatically undo a split if there is only one window. We could implement this by running a check when the window is moved/closed. We could check all workspaces or the container from which the action was performed and if there is a split with one window we would undo it.
The text was updated successfully, but these errors were encountered: