screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Title list window colors/columns for readability, aka bling


From: Bruce Edge
Subject: Title list window colors/columns for readability, aka bling
Date: Wed, 21 May 2008 09:14:31 -0700

How do I pass color attributes to the title from the dynamic title set mechanism?

I'm using this to set my title:

    echo -e "^[k " $mytitle `hostname` $PWD" ${%%*} ...more env gibberish here... ^[\\"

But I'd like to add some color escape sequences to format it better but I can't figure out what set of escape code work in this context.

Also, can I use field width formatters too? This would give the output a tabular appearance that would be much easier to grasp in an instant.

So, ideally soething like this

    echo -e "^[k " $mytitle  <blue> %-16`hostname` $PWD" ${%%*} ...more env gibberish here... ^[\\"
                                      color--^           ^-----string width spec.
 
Yes, I have too many windows that is really healthy, but it's an occupational hazard :-)

Thanks, Bruce


reply via email to

[Prev in Thread] Current Thread [Next in Thread]