DEV Community 👩‍💻👨‍💻

Marcin Wosinek
Marcin Wosinek

Posted on

How to display simple, symmetric status bar in tmux

If you spend a lot of time in tmux you will probably like to replace the default status bar:
Alt Text

with something custom - for example something like this:
Alt Text

Configuration

To achieve this, you can copy to your ~/.tmux.conf following configuration:

set-option -g status on    
set-option -g status-interval 2    
set-option -g status-justify "centre"    
set-option -g status-left-length 60    
set-option -g status-right-length 90    

set -g status-right '[#S]'    
Enter fullscreen mode Exit fullscreen mode

The result

With the configuration in place, the tmux status bar looks like:
Alt Text

The color is more vibrant than in the example above - where I had seebi/tmux-colors-solarized applied. If you are interested in an article how to set it up, let me know in the comments.

Top comments (0)

🌚 Browsing with dark mode makes you a better developer.

It's a scientific fact.