🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

terminator-layout-builder

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

terminator-layout-builder

A Terminator Terminal Layout Builder

0.1.1
PyPI
Maintainers
1

Terminator Layout Builder

Manage Terminator layouts easily using YAML file.

Terminator Layout Builder

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

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts