tmux-cpu icon indicating copy to clipboard operation
tmux-cpu copied to clipboard

How to reset background color after metrics section

Open learmond opened this issue 1 year ago • 1 comments

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!

learmond avatar May 04 '24 16:05 learmond

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

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

casperdcl avatar May 09 '24 09:05 casperdcl