mirror of
				https://github.com/rad4day/Waybar.git
				synced 2025-10-25 23:22:28 +02:00 
			
		
		
		
	feat: workspaces index
This commit is contained in:
		| @@ -82,7 +82,8 @@ auto waybar::modules::sway::Workspaces::update() -> void | ||||
|       if (config_["format"]) { | ||||
|         auto format = config_["format"].asString(); | ||||
|         button.set_label(fmt::format(format, fmt::arg("icon", icon), | ||||
|           fmt::arg("name", node["name"].asString()))); | ||||
|           fmt::arg("name", node["name"].asString()), | ||||
|           fmt::arg("index", node["num"].asString()))); | ||||
|       } else { | ||||
|         button.set_label(icon); | ||||
|       } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Alexis
					Alexis