mirror of
https://github.com/polybar/polybar.git
synced 2026-02-13 22:25:36 +00:00
config: Print deprecation warnings
This commit is contained in:
@ -20,6 +20,8 @@ namespace modules {
|
||||
GET_CONFIG_VALUE(name(), m_udspeed_minwidth, "udspeed-minwidth");
|
||||
GET_CONFIG_VALUE(name(), m_accumulate, "accumulate-stats");
|
||||
|
||||
m_conf.warn_deprecated(name(), "udspeed-minwidth", "%downspeed:min:max% and %upspeed:min:max%");
|
||||
|
||||
m_interval = chrono::duration<double>(m_conf.get<float>(name(), "interval", 1));
|
||||
|
||||
// Add formats
|
||||
|
||||
Reference in New Issue
Block a user