fix(tray): Default to bar background rgb

This commit is contained in:
Michael Carlberg 2016-11-04 19:33:38 +01:00
parent 0814ed381f
commit de2ee4db1b

View File

@ -513,6 +513,8 @@ void bar::bootstrap_tray() { // {{{
auto bg = m_conf.get<string>(bs, "tray-background", ""); auto bg = m_conf.get<string>(bs, "tray-background", "");
if (!bg.empty()) { if (!bg.empty()) {
m_tray.background = color::parse(bg, g_colorempty); m_tray.background = color::parse(bg, g_colorempty);
} else {
m_tray.background = m_bar.background;
} }
} }