Monday, 6 May 2019

Programmatic access to current xterm background color?

I would like to setup the prompt colors in .bashrc depending on the colors it is using for foreground and background.


For example, blue prompt if background is light and beige if it is dark.


Is there a way to find out the current settings in a script?

No comments:

Post a Comment

How can I VLOOKUP in multiple Excel documents?

I am trying to VLOOKUP reference data with around 400 seperate Excel files. Is it possible to do this in a quick way rather than doing it m...