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

change the root container of a workspace

asked 2013-12-03 08:54:12 +0000

Lotabout gravatar image

updated 2013-12-03 11:58:37 +0000

Is there a way in i3 to change the root container of a workspace?

For example, we have root container A, A has two children B1 and B2, and B1 has two children C1 and C2.

Can I change the root container to one of A's children(B1/B2) or grandchildren(C1/C2)?

This is like maximize a container, while still being able to working on it -- create sub-containers and whatever we can do on a brand new workspace.

The reason why "tabbed" mode won't fit is that I want to keep a specific layout while temporarily maximize a part of the layout(a container) and later change back.

If you've ever used "clfswm", that's what I am looking for.

edit retag flag offensive close merge delete

Comments

I am not sure I understand your question, but does https://faq.i3wm.org/question/100/how-can-i-move-a-workspace/ help?

joepd gravatar imagejoepd ( 2013-12-03 09:58:20 +0000 )edit

Hi joepd, thanks for your answer, I've updated the question. The link you've provided is not quite I need.

Lotabout gravatar imageLotabout ( 2013-12-03 11:59:42 +0000 )edit

2 answers

Sort by ยป oldest newest most voted
1

answered 2013-12-03 15:13:33 +0000

Adaephon gravatar image

You can select any parent container of a window with the command focus parent. Once the intended container is highlighted, you can use fullscreen, this will maximize the whole container. Then you can use focus child to drop focus to single windows (or select one with the mouse).

To go back, you can again select the whole container and do fullscreen. In most cases calling fullscreen on a single window twice should have the same effect.

edit flag offensive delete link more

Comments

Thanks, this is almost close and I can work with this. Oly when using "fullscreen", I lost the status bar.

Lotabout gravatar imageLotabout ( 2013-12-04 09:49:42 +0000 )edit
0

answered 2013-12-03 14:38:51 +0000

Yuri Khan gravatar image

The way to maximize a container is to move it to a new workspace. To change back, move it back into the original workspace.

To act on a whole container, you might need to first focus it with focus parent.

edit flag offensive delete link more

Comments

Actually, when move forward and back, the layout of the original workspace is changed. This is a bit annoying.

Lotabout gravatar imageLotabout ( 2013-12-04 09:53:19 +0000 )edit

Question Tools

Stats

Asked: 2013-12-03 08:54:12 +0000

Seen: 216 times

Last updated: Dec 03 '13