mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
keep id
This commit is contained in:
parent
2bcd0eb09f
commit
e40860c3e9
@ -325,7 +325,8 @@ void Workspace::update(const std::string &format, const std::string &icon) {
|
|||||||
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("name", name()), fmt::arg("icon", icon)));
|
fmt::format(fmt::runtime(format), fmt::arg("id", id()),
|
||||||
|
fmt::arg("name", name()), fmt::arg("icon", icon)));
|
||||||
}
|
}
|
||||||
|
|
||||||
void Workspaces::sort_workspaces() {
|
void Workspaces::sort_workspaces() {
|
||||||
|
Loading…
Reference in New Issue
Block a user