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

Quickly resize splitted containers to full screen

asked Aug 17 '14

abonec gravatar image

I have a tons of consoles and organize it within vertical split both parts of which consists of consoles that stacked on each other.

Because my laptop have only 13` of screen size I often need to resize some consoles to full screen. Fullscreen mode is not appropriate for me, because I can't navigate to another consoles where I have fullscreen. I want hotkeys to trigger maximization of vertical split to right, left or center. Something like I tryied express on this gist:

gist.github.com/abonec/b16807a836eac60f10a7

I know that I can achieve this by "mod+r-> ;;;;;;;" or "mod+r -> jjjjjjjjj" but I want to do it quickly in one or two hotkeys.

1 answer

Sort by » oldest newest most voted
0

answered Aug 17 '14

ANOKNUSA gravatar image

Use "select parent" and toggle the entire container to fullscreen.

Comments

Is there any way to do it without loosing focus from current console? Or how to scripting it?

abonec gravatar imageabonec (Aug 17 '14)edit

You can bind the following command to a key in your config: focus parent; fullscreen; focus child

joepd gravatar imagejoepd (Aug 17 '14)edit

I should mention this works best if you create two stacked containers instead of one split container with nested stacks. set 'workspace_layout stacking' in your config, open two terminals, and move the focused one left or right. You'll have two independent stacked containers. More flexible that way.

ANOKNUSA gravatar imageANOKNUSA (Aug 17 '14)edit

Question Tools

Stats

Asked: Aug 17 '14

Seen: 124 times

Last updated: Aug 17 '14