-
Notifications
You must be signed in to change notification settings - Fork 769
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
Feature request: Option alternating
for default_orientation
#2106
Comments
This is somewhat related to #1814, though there it's via command and here it's automatically. I'm not sure how I feel about having both. |
I think this is covered fairly well be #1814, which is a small addition, whereas the suggestion here implies deeper changes into how i3 layouts work, at least from a mental complexity point of view. Opening a window and splitting a container are distinct operations, and I don’t want to throw them together. Users can always use the IPC interface to achieve the suggested feature. I’m closing this request in favor of #1814 and possibly scripts using the IPC interface. |
I use this as a default. You can configure it already:
|
EDIT: scratch that, you can't execute split toggle just like that :/ I didn't refresh my config and thought it had worked. |
Feature request: Add the option
alternating
todefault_orientation
, that will make every other container split in the other direction.i3 has the option
default_orientation
with optionshorizontal
,vertical
, andauto
.By default, i3 creates all new windows split evenly to the same direction, unless you specifically change the next split direction.
Default settings:
When creating many windows on the same workspace, it can often make more sense to change the split direction every now and then. One very simple and elegant solution would be alternating split: make every other created window split in the other direction, and the next to the other, depending on either the current tree structure or current container size (room for discussion on which, or maybe have a strategy for both?).
Alternating split:
One working script version can already be found here - but it would be great to have such a feature natively implemented in mainline i3 as well, without having to resort to external scripts that poll i3 from the outside.
Of course, this should be just a hint for the next split, so that it can be overridden with a simple press of split direction keyboard shortcut - just like with the other defaults - not a forced layout in entirety.
The text was updated successfully, but these errors were encountered: