Revert "feat(sway): add workspace css class"

This reverts commit a10464d9bb.
This commit is contained in:
Pascal Huber 2023-03-01 10:55:15 +01:00
parent 8cc8820369
commit 23f39938fb

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)),