Open ghost opened 4 years ago
I still have this issue. The fix is not to remove the check for bg_code = -1 though. That is there to ensure that a valid color was entered. The problem is that if you look at the valid colors, in parse_color on line 11 of the link you sent, "defualt" is not a valid color, despite the man pages saying that it should be. There seems to be a discrepancy between the man page that allows for "default" as the transparent/background color and the layout.h which does not.
I try to add this to .bmonrc
but i got this error when run bmon:
Unknown color [bg]: default
When I run
bmon -ocurses:nocolors
I got the transparent background but other text color is white.If I modify layout.h here: https://github.com/tgraf/bmon/blob/master/include/bmon/layout.h#L126 to make bg_code = -1, I get the transparent. Not sure why there is a check to prevent bg_code = -1 at line 97.