fix(tray): Default to bar background rgb
This commit is contained in:
parent
0814ed381f
commit
de2ee4db1b
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user