A Terminator Terminal Layout Builder
Project description
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:
# A window
- root: $HOME/project # root for this window
vertical:
panes:
- cmd: pwd && echo $SHELL
- cmd: whoami
# Another window
- root: "/tmp"
tabs:
labels:
- Logs
- Services
- Monitoring
items:
- horizontal:
ratio: 0.5
panes:
- vertical:
ratio: 0.67
panes:
- title: "some title"
cmd: pwd
- root: "~" # overwrite window's 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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file terminator-layout-builder-0.1.1.tar.gz
.
File metadata
- Download URL: terminator-layout-builder-0.1.1.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
252297823040b3aaa48c258dac236453833676621b2cbaf750e0f0d809c81696
|
|
MD5 |
89bc9a9885b742c23aabd96cdcacb03e
|
|
BLAKE2b-256 |
186c16daa66ee7fa32d65bf1964a3cb090820001384d57e85f1d25ee3f1a6815
|
File details
Details for the file terminator_layout_builder-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: terminator_layout_builder-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
ddf2a45b09235c626a530c1f108682210e1b05e5d988e8ba03af6f304d91380c
|
|
MD5 |
1cb5e7cb3f50cbc7224d78067583116c
|
|
BLAKE2b-256 |
bb0d2c04babf2b1975d53bffdc7ea18521ce793aa950b223ffccbaef4d2f03aa
|