tmux-plugins / tmux-cpu

Plug and play cpu percentage and icon indicator for Tmux.
MIT License
444 stars 69 forks source link

How to reset background color after metrics section #88

Open learmond opened 6 months ago

learmond commented 6 months ago

I can't seem to figure out how to reset the background color after the CPU (etc) metrics section so that the system time shows up again in the normal status bar background. I was hoping might update your README example to optionally include how to do this?

i.e. How to apply the specific cpu/ram/temp_bg_color to only their section? image

Thanks a bunch!

casperdcl commented 6 months ago

You can (re)set using #[bg=green], #[fg=#000000], etc. e.g.:

#{cpu_bg_color}#{cpu_percentage}#[bg=green]