Improving ordering

This commit is contained in:
Lucas Lazare
2019-05-18 11:58:01 -04:00
parent 85f177a213
commit 1a76aa0c8c
2 changed files with 28 additions and 3 deletions

View File

@ -35,6 +35,7 @@ class Workspaces : public IModule, public sigc::trackable {
const Bar& bar_;
const Json::Value& config_;
std::vector<Json::Value> workspaces_;
std::vector<std::string> workspaces_order_;
waybar::util::SleeperThread thread_;
std::mutex mutex_;
Gtk::Box box_;