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

Auto start terminals in 4x4 layout

asked 2013-06-15 08:26:45 +0000

marky gravatar image

updated 2013-06-15 09:08:32 +0000

Hi folks,

Love i3, trying to get i3 to launch 4 terminal windows and have them in a 2x2 tiled layout. Here is what I have tried, however I just 4 terminals in a 4 columns.

exec --no-startup-id i3-msg 'workspace 3: Terms; exec urxvt'
exec --no-startup-id i3-msg 'workspace 3: Terms; split v'
exec --no-startup-id i3-msg 'workspace 3: Terms; exec urxvt'
exec --no-startup-id i3-msg 'workspace 3: Terms; split h'
exec --no-startup-id i3-msg 'workspace 3: Terms; exec urxvt'
exec --no-startup-id i3-msg 'workspace 3: Terms; split v'
exec --no-startup-id i3-msg 'workspace 3: Terms; exec urxvt'
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-06-15 10:16:02 +0000

cee gravatar image

updated 2013-06-16 23:26:04 +0000

Hi,

There is a similar question named 'How can I define my workspace on startup' from Bruno Braga.

You have to give the called program some time to open, before calling split [v|h] and the next program.

There is a script file on github that does something very similar and should be easily adapted to your use-case.
github.com/fhaun/config-misc/blob/master/i3-stuff/auto-start-for-i3

edit flag offensive delete link more

Comments

Thanks cee, couldn't find the other question,but the script looks useful.

marky gravatar imagemarky ( 2013-06-15 19:45:55 +0000 )edit

Question Tools

Stats

Asked: 2013-06-15 08:26:45 +0000

Seen: 2,152 times

Last updated: Jun 16 '13