Sway/workspaces: fix persistent icon

This commit is contained in:
Rice8Dyb6 2023-12-11 00:17:35 +07:00
parent dc208b66b3
commit 4822f967b2
1 changed files with 1 additions and 1 deletions

View File

@ -314,7 +314,7 @@ std::string Workspaces::getIcon(const std::string &name, const Json::Value &node
if (config_["format-icons"][key].isString() && node[key].asBool()) {
return config_["format-icons"][key].asString();
}
} else if (config_["format_icons"]["persistent"].isString() &&
} else if (config_["format-icons"]["persistent"].isString() &&
node["target_output"].isString()) {
return config_["format-icons"]["persistent"].asString();
} else if (config_["format-icons"][key].isString()) {