mirror of
				https://github.com/rad4day/Waybar.git
				synced 2025-10-31 07:52:42 +01:00 
			
		
		
		
	Merge pull request #245 from SibrenVasse/json-icon
[custom] Allow icon selection based on json alt attribute
This commit is contained in:
		| @@ -98,7 +98,7 @@ auto waybar::modules::Custom::update() -> void | ||||
|  | ||||
|     auto str = fmt::format(format_, text_, | ||||
|       fmt::arg("alt", alt_), | ||||
|       fmt::arg("icon", getIcon(percentage_)), | ||||
|       fmt::arg("icon", getIcon(percentage_, alt_)), | ||||
|       fmt::arg("percentage", percentage_)); | ||||
|     label_.set_markup(str); | ||||
|     if (tooltipEnabled()) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Alex
					Alex