Comment by tosti

1 day ago

I like having a red bar for tmux running as root and a blue one for running it as a normal user, e.g. for root:

    set -g status-style "bg=red"

I also like to have the bar on top and the status centered:

    set -g status-justify absolute-centre
    set -g status-position top

I change the color of the bar in every server I've set it up so I know absolutely where I am.

  • Aren't you going to run out of colors to pick?

    • My approach is to color ssh sessions to prod servers red, less dangerous servers orange, my own non shared computers blue.