Open name-snrl opened 7 months ago
Note that in general, we're not accepting any new window management features anymore. See https://github.com/swaywm/sway/blob/master/CONTRIBUTING.md#scope-of-future-changes-to-sway
we're not accepting any new window management features
oke, but what about making split none
respect workspace_layout
?
for automatic undo split, I can write a simple daemon like autotiling-rs
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.