mirror of
https://github.com/polybar/polybar.git
synced 2026-03-02 14:24:01 +00:00
refactor(tokens): Move token suffix to configuration
This commit is contained in:
@ -67,7 +67,8 @@ string config::section() const {
|
||||
void config::warn_deprecated(const string& section, const string& key, string replacement) const {
|
||||
try {
|
||||
auto value = get<string>(section, key);
|
||||
m_log.warn("The config parameter `%s.%s` is deprecated, use `%s.%s` instead.", section, key, section, move(replacement));
|
||||
m_log.warn(
|
||||
"The config parameter `%s.%s` is deprecated, use `%s.%s` instead.", section, key, section, move(replacement));
|
||||
} catch (const key_error& err) {
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user