Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ConEmu Layout with multiple columns and rows as startup task

Tags:

conemu

We have a rather complex gulp build process that involves several modules where each has one or two watches. I would like to monitor this in one dashboard like this:

ConEmu Layout with several columns and rows Each Column is one module, each row inside a column a subsequent build step. Once the gulp script in column 1 is done, the watch in module 2a (top) will trigger, then 2b (bottom), 3a, 3b, 4a, 4b... you get the idea.

So far I have figured out how to create the columns

* -cur_console:t:'1' cmd.exe 
* -new_console:s75H -cur_console:t:"2a" cmd.exe 
* -new_console:s66H -cur_console:t:"3a" cmd.exe 
* -new_console:s50H -cur_console:t:"4a" cmd.exe 

But cmdemu always takes the previously created console as "parent" to create the new one, so this will obviously fail...

* -cur_console:t:'1' cmd.exe 
* -new_console:s75H -cur_console:t:"2a" cmd.exe 
* -new_console:s50V -cur_console:t:"2b" cmd.exe 
* -new_console:s66H -cur_console:t:"3a" cmd.exe 
* -new_console:s50V -cur_console:t:"3b" cmd.exe 
* -new_console:s50H -cur_console:t:"4a" cmd.exe 
* -new_console:s50V -cur_console:t:"4b" cmd.exe 

Giving me something like this...

wrong layout. it looks cool, though

How can I create this sort of layout?

like image 483
Tim Schoch Avatar asked Dec 14 '22 08:12

Tim Schoch


1 Answers

Actually, docs describes how you may split specific pane: just use T subswitch to define splitting pane.

-cur_console:t:'1' cmd.exe 
-new_console:s75H -cur_console:t:"2a" cmd.exe 
-new_console:s66H -cur_console:t:"3a" cmd.exe 
-new_console:s50H -cur_console:t:"4a" cmd.exe 
-new_console:s2T50V -cur_console:t:"2b" cmd.exe 
-new_console:s3T50V -cur_console:t:"3b" cmd.exe 
-new_console:s4T50V -cur_console:t:"4b" cmd.exe 

Or, if you want to have sorted tabs

-cur_console:t:'1' cmd.exe 
-new_console:s75H -cur_console:t:"2a" cmd.exe 
-new_console:s2T50V -cur_console:t:"2b" cmd.exe 
-new_console:s2T66H -cur_console:t:"3a" cmd.exe 
-new_console:s3T66H -cur_console:t:"3b" cmd.exe 
-new_console:s4T50H -cur_console:t:"4a" cmd.exe 
-new_console:s5T50H -cur_console:t:"4b" cmd.exe 
like image 100
Maximus Avatar answered May 16 '23 09:05

Maximus