Open xurei opened 4 years ago
Thanks for making this!
I'm wondering now, how it would be possible to make a setup script for this 2x2 grid situation?
Let's say I want to run 4 separate commands in those 4 boxes, like vagrant up in one, ssh in another, tail -f in a third etc...
Ideally, I'd write a .sh file for that, but that .sh file will of course execute all commands in the same terminal, regardless of guake focus.
Ah, I quickly answered my own question.
The -e param works for this.
guake --split-horizontal -e "vagrant up --provision && vagrant ssh"
guake --select-terminal 0
guake --split-vertical -e "cd frontend && npm run serve"
If anyone needs an example.
I believe this issue can be closed now.
This is related to issue #1645
--split-vertical
and--split-horizontal
are really nice ! But it feels to me that a select terminal feature is missing.Typically, if you want to make a 2x2 grid, you can't right now because the first terminal cannot be selected. Hence you can only split it vertically or horizontally, but not both.
Proposal:
Where M would be an auto-incremented value, very much like the tabs work.
I don't know how complicated it would be to implement, but it would make complex startup-scripts more powerful.
Example for a 2x2 grid :
We end up with this layout: