I am using the following screen status line, configured in my screenrc:
I configured it using the following line:
hardstatus alwayslastline
hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{=kw}%?%-Lw%?%{r}(%{W}%n*%f %t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B}%Y-%m-%d %{W}%c %{g}]'
I did not create this theme, I don't remember where I found it, but I really like it.
I am now converting my configuration to tmux
and I can't seem to replicate this configuration in my tmux.conf
.
I got this far:
set -g status-bg black
set -g status-fg white
set -g status-left '#[fg=green]#H'
set-window-option -g window-status-current-attr bright
set-window-option -g window-status-current-bg red
Which produces this line:
Please ignore the different hostname, it's on a different server
What configuration can I use in tmux
to produce a status line similar to the first one?
Thank you!
Best Answer
With the exception of the red brackets around the highlighted window, this is the closest approximation that I can easily configure in
tmux 1.5
:If you want the highlighted window in red, use: