mirror of
https://github.com/polybar/polybar.git
synced 2026-02-26 06:55:35 +00:00
committed by
Patrick Ziegler
parent
8d3dedc2bd
commit
e5783d4113
@ -72,7 +72,7 @@ namespace modules {
|
||||
m_icons->add(DEFAULT_ICON, factory_util::shared<label>(m_conf.get(name(), DEFAULT_ICON, ""s)));
|
||||
|
||||
for (const auto& workspace : m_conf.get_list<string>(name(), "icon", {})) {
|
||||
auto vec = string_util::split(workspace, ';');
|
||||
auto vec = string_util::tokenize(workspace, ';');
|
||||
if (vec.size() == 2) {
|
||||
m_icons->add(vec[0], factory_util::shared<label>(vec[1]));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user