mirror of
				https://github.com/rad4day/Waybar.git
				synced 2025-10-31 07:52:42 +01:00 
			
		
		
		
	change order
This commit is contained in:
		| @@ -278,7 +278,7 @@ Gtk::Button &Workspaces::addButton(const Json::Value &node) { | |||||||
| } | } | ||||||
|  |  | ||||||
| std::string Workspaces::getIcon(const std::string &name, const Json::Value &node) { | std::string Workspaces::getIcon(const std::string &name, const Json::Value &node) { | ||||||
|   std::vector<std::string> keys = {name, "urgent", "focused", "visible", "default"}; |   std::vector<std::string> keys = {"urgent", "focused", name, "visible", "default"}; | ||||||
|   for (auto const &key : keys) { |   for (auto const &key : keys) { | ||||||
|     if (key == "focused" || key == "visible" || key == "urgent") { |     if (key == "focused" || key == "visible" || key == "urgent") { | ||||||
|       if (config_["format-icons"][key].isString() && node[key].asBool()) { |       if (config_["format-icons"][key].isString() && node[key].asBool()) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 dmitry
					dmitry