Today I added pseudo transparency support to
yacpi.
All you have to do is to call the ncurses function use_default_colors();
With this function your program is able to use default colors of
the terminal so there is no need to modify them by yourself.
After the call you have to change the background color of the init_pair
function to -1.