Merge pull request #2034 from pascal-huber/master

This commit is contained in:
Alex 2023-03-01 11:06:27 +01:00 committed by GitHub
commit b7e6a2dc25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -231,7 +231,6 @@ auto Workspaces::update() -> void {
box_.reorder_child(button, it - workspaces_.begin());
}
std::string output = (*it)["name"].asString();
button.get_style_context()->add_class("workspace-" + trimWorkspaceName(output));
if (config_["format"].isString()) {
auto format = config_["format"].asString();
output = fmt::format(fmt::runtime(format), fmt::arg("icon", getIcon(output, *it)),