wfxr / tmux-power

🎨 Tmux powerline theme
Other
546 stars 126 forks source link

request: alternating background color for windows #3

Closed pcroland closed 4 years ago

pcroland commented 4 years ago

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 4 years ago

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

pcroland commented 4 years ago

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 4 years ago

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

wfxr commented 4 years ago

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