mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
fix(workspaces): proper order workspace
This commit is contained in:
@ -85,6 +85,7 @@ void waybar::modules::WorkspaceSelector::_addWorkspace(Json::Value node)
|
||||
ipc_single_command(_ipcSocketfd, IPC_COMMAND, value.c_str(), &size);
|
||||
});
|
||||
_box->pack_start(button, false, false, 0);
|
||||
_box->reorder_child(button, node["num"].asInt() - 1);
|
||||
if (node["focused"].asBool()) {
|
||||
button.get_style_context()->add_class("current");
|
||||
}
|
||||
|
Reference in New Issue
Block a user