wfxr/tmux-power

request: alternating background color for windows

pcroland opened this issue · 4 comments

Hi!

I really like your theme, exactly what I was looking for except one thing:
It would be nice if the pane names had alternating background colors.
Something like this:
image1 (just a quick PS)
I would really appreciate this feature.

wfxr commented

Weird...Inactive windows should have the same background and foreground:
image
Why the last two window names in your screenshots looks different?

It's a request, not a bug report. The image I showed is just a photoshopped image. It would be nice to have an option to alternate the background colors for the window names.

wfxr commented

Understood. Thanks for your suggestion @pcroland . I will consider it when I finish the things at hand.

wfxr commented

Hi @pcroland Sorry for the late reply. I find it difficult to add an option to meet similar needs, such as foreground, background, font style, etc. Instead it's simple for user to custom every part of tmux. You can easily change the window-status-format:

set -gq window-status-format "#[fg=#262626,bg=#4e4e4e]#[fg=#080808,italics] #I:#W#F #[fg=#4e4e4e,bg=#262626]"

Put it under run '~/.tmux/plugins/tpm/tpm' if you use tpm. This will give you a window status like this:
image