Terminator Layout Builder
Manage Terminator layouts easily using YAML file.

Installation
pip install terminator-layout-builder
Usage
Create a layout file in ~/.config/terminator/layout.yaml
.
The file can contain a layout as simplest as this.
layoutA:
- cmd: pwd
or as complex as this
layoutA:
- cmd: pwd
layoutB:
- root: $HOME/project
vertical:
panes:
- cmd: pwd && echo $SHELL
- cmd: whoami
- root: "/tmp"
tabs:
labels:
- Logs
- Services
- Monitoring
items:
- horizontal:
ratio: 0.5
panes:
- vertical:
ratio: 0.67
panes:
- title: "some title"
cmd: pwd
- root: "~"
cmd: pwd
- cmd: tail -f /var/log/syslog
- horizontal:
panes:
- cmd: tail -f /dev/null
- cmd: tail -f /dev/null
- cmd: htop
Next, run tlb
and the layouts will be merge into your Terminator config, and you can start your layout by using Terminator Layout Launcher.
Alternatively, you can also use tlb -l <layout>
(alias to terminator -u -m -b -l <layout>
) to launch your Terminator with the layout.
Inspirations