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 2014-08-17 10:48:16 +0000

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.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-08-17 18:26:07 +0000

ANOKNUSA gravatar image

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

edit flag offensive delete link more

Comments

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

abonec gravatar imageabonec ( 2014-08-17 18:56:28 +0000 )edit

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

joepd gravatar imagejoepd ( 2014-08-17 19:30:44 +0000 )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 ( 2014-08-17 20:00:58 +0000 )edit

Question Tools

Stats

Asked: 2014-08-17 10:48:16 +0000

Seen: 124 times

Last updated: Aug 17 '14