formatting

pull/2393/head
zjeffer 2023-08-10 20:37:42 +02:00
parent 2ba11e8401
commit 6f7e7c5199
1 changed files with 2 additions and 3 deletions

View File

@ -324,9 +324,8 @@ void Workspace::update(const std::string &format, const std::string &icon) {
add_or_remove_class(style_context, is_special(), "special"); add_or_remove_class(style_context, is_special(), "special");
add_or_remove_class(style_context, is_empty(), "persistent"); add_or_remove_class(style_context, is_empty(), "persistent");
label_.set_markup( label_.set_markup(fmt::format(fmt::runtime(format), fmt::arg("id", id()),
fmt::format(fmt::runtime(format), fmt::arg("id", id()), fmt::arg("name", name()), fmt::arg("icon", icon)));
fmt::arg("name", name()), fmt::arg("icon", icon)));
} }
void Workspaces::sort_workspaces() { void Workspaces::sort_workspaces() {