The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
1

How do I start a new program tabbed or stacked?

asked Jun 27 '12

Klaas gravatar image

If I want to open a new program directly as tabbed/stacked, I first need to split the current container, open the new program and then convert the container to tabbed/stacked. Is there a more direct way?

1 answer

Sort by » oldest newest most voted
3

answered Jun 27 '12

Klaas gravatar image

updated Jun 27 '12

I did find the answer myself, but others might benefit:

There is no need to open the program before converting the container to tabbed/stacked. That is:

  1. Split the window in a direction
  2. Convert it to tabbed/stacked (does not result in any visual change)
  3. Launch the new program, it will launch in a tab/stacked

One can probably use i3-msg to create a short program that makes it a single commmand, instead of two.

A design question related to that would be: Why is there a difference between a "splitting layout" and "layout"?

Comments

2

As to your last question: We consider removing that difference:https://github.com/i3/i3/issues/464

Michael gravatar imageMichael (Jun 28 '12)edit

Nice, I think that would make the concept of layouts cleaner and would very much welcome the change. Thanks for the link to the bug report. I think making it 4 container layout modes, like you proposed, would be best.

Klaas gravatar imageKlaas (Jun 28 '12)edit

Am I understanding correctly: in 4.2 there currently is no way to assign specific layouts to specific workspaces?

lkraav gravatar imagelkraav (Jul 2 '12)edit

Yes, but that is actually unrelated to this discussion imho, which is about the difference between layout and splitting directions.

Klaas gravatar imageKlaas (Jul 2 '12)edit

Question Tools

1 follower

Stats

Asked: Jun 27 '12

Seen: 817 times

Last updated: Jun 27 '12