1
0
Fork 0
mirror of https://github.com/polybar/polybar.git synced 2024-11-11 13:50:56 -05:00

fix(github): Replace initial token

This commit is contained in:
Michael Carlberg 2016-12-23 05:12:33 +01:00
parent 8cc275ccd1
commit 48438b2556

View file

@ -21,6 +21,7 @@ namespace modules {
if (m_formatter->has(TAG_LABEL)) {
m_label = load_optional_label(m_conf, name(), TAG_LABEL, "Notifications: %notifications%");
m_label->replace_token("%notifications%", m_empty_notifications ? "0" : "");
}
}