Possible to put some kind of if then test in screenrc?

David Woodfall <[email protected]>
Newsgroups gmane.comp.gnu.screen.user
Message-ID <20171114124124.GB12474@Blackswan>
I have a hardstatus backtick command that prints CPU %. I would like
to change the hardtstatus text colour to bright red if it goes over
90%.

Is this possible?

I tried first using bash colour escape codes, and then normal screen
colour codes like %{b .r.}, but it prints the codes verbatim rather than
as colour codes.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.