mirror of
https://github.com/polybar/polybar.git
synced 2026-03-17 13:47:06 +00:00
fix(script): set default tag to label (#223)
This commit is contained in:
committed by
Michael Carlberg
parent
16b7d09d63
commit
a22e84204d
@ -27,7 +27,7 @@ namespace modules {
|
||||
|
||||
m_interval = chrono::duration<double>{m_conf.get<double>(name(), "interval", m_tail ? 0.0 : 5.0)};
|
||||
|
||||
m_formatter->add(DEFAULT_FORMAT, TAG_OUTPUT, {TAG_OUTPUT, TAG_LABEL});
|
||||
m_formatter->add(DEFAULT_FORMAT, TAG_LABEL, {TAG_OUTPUT, TAG_LABEL});
|
||||
|
||||
if (m_formatter->has(TAG_LABEL)) {
|
||||
m_label = load_optional_label(m_conf, name(), "label", "%output%");
|
||||
|
||||
Reference in New Issue
Block a user