kamranahmedse / itomate

Automate your iTerm layouts and session setup
MIT License
336 stars 12 forks source link

[FR] Add Tab Colors #10

Open JohnLegrandRichards opened 4 years ago

JohnLegrandRichards commented 4 years ago

Add ability to define tab colors This could be RGB or have some predefined colors

example:

version: "1.0" tabs: window-1: root: "~/Documents/Moxy-Projects/navblue-service" color: [255, 128, 128] title: "My Title" panes:

martin-braun commented 1 year ago

tabset can do this, so you can do something like this:

version: "1.0"
profile: "Default"
tabs:
  red:
    root: "$HOME"
    title: "red"
    panes:
      - position: "1/1"
        commands:
          - "tabset --color #ff0000"
          - "vim .env"
      - position: "1/2"
        commands:
          - "tabset --color #ff99ff"
          - "./wizard.ts -h"
  blue:
    root: "$HOME"
    title: "blue"
    panes:
      - position: "1/1"
        commands:
          - "tabset --color #0000ff"
          - "vim .env"

Unfortunately, it requires a node dependency and adds more overhead, making this thing even slower to launch. I would love to have this built into itomate.