mirror of
https://github.com/polybar/polybar.git
synced 2026-03-01 21:58:53 +00:00
fix: Correct type for module interval
This commit is contained in:
@ -22,7 +22,7 @@ namespace modules {
|
||||
throw module_error("No date or time format specified");
|
||||
}
|
||||
|
||||
m_interval = m_conf.get(name(), "interval", 1s);
|
||||
m_interval = m_conf.get<decltype(m_interval)>(name(), "interval", 1s);
|
||||
|
||||
m_formatter->add(DEFAULT_FORMAT, TAG_LABEL, {TAG_LABEL, TAG_DATE});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user