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

Make window take twice as much space

asked 2015-06-13 19:29:33 +0000

gosukiwi gravatar image

updated 2015-06-13 19:30:13 +0000

Say I have two terminals

[ A | B ]

If I had three, it would look like this

[ A | B | C ]

But I only want two windows, what I want is A to take twice as much space:

[   A   | B ]
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-06-13 21:24:51 +0000

i3convert gravatar image

updated 2015-06-15 15:01:39 +0000

If you just want to resize windows, then issues like this are excellently covered in i3 User's Guide. In particular Section 2.8 discusses the topic of resizing windows. You can use the mouse or keyboard.

If you care about getting exactly the 2:1 split, then one option that should work is to save your current layout and modify the "percent" field, before reloading it. See the document on saving layouts for more details.

edit flag offensive delete link more

Comments

1

To be fair, this exact usecase isn't covered and not too easy. The closest you can get without scripting is `resize grow width 0 px or 17 ppt`, but it will still be slightly off. Might be good enough, though.

Airblader gravatar imageAirblader ( 2015-06-14 08:32:30 +0000 )edit

@Arblader: I see what you mean. I assumed he didn't care about getting exactly the 2:1 split. He could probably use layouts (http://i3wm.org/docs/layout-saving.html) for that, and modify the `percent` parameter. Let me edit my answer.

i3convert gravatar imagei3convert ( 2015-06-15 14:54:32 +0000 )edit

Question Tools

Stats

Asked: 2015-06-13 19:29:33 +0000

Seen: 91 times

Last updated: Jun 15