austinjones / tab-rs

The intuitive, config-driven terminal multiplexer designed for software & systems engineers
MIT License
659 stars 29 forks source link

Option to change Tab Color of Fuzzy Finder #353

Open guy-who-googles opened 3 years ago

guy-who-googles commented 3 years ago

Similar to #45, but to change the base color of tabs in fuzzy finder.

Maybe it's just me, but blue is difficult to see in my terminal (Alacritty). While a color configuration option would help my specific use case, pairing it to a grouping of tabs (seems like workspace/repo abstraction may change depending on #315 - specifically this) would be useful when you start using a lot more tabs and variants. I'm still working towards building my configuration towards the advanced use case below, so sorry if the syntax isn't 100%, but hopefully it gets the idea across.

~/.config/tab.yml

workspace:
    - workspace: proj1
      color: green
    - workspace: proj2
      color: orange

~/proj1/tab.yml

workspace:
    - repo:  mobile
      color: light_green
    - repo: website
      color: dark_green

~/proj2/tab.yml

workspace:
    - tab: main_branch
    #color inherited from top level
    - tab:   branch_with_changes_that_make_all_the_things_better
      color: light_orange
    - tab:   branch_that_probably_wont
      color: dark_orange
guy-who-googles commented 3 years ago

Oh, and as to not conflict with #45, you could do bold for recency sorting.