mirror of
				https://github.com/rad4day/Waybar.git
				synced 2025-10-31 16:02:43 +01:00 
			
		
		
		
	Added clock tooltip with optional alternate format
This commit is contained in:
		| @@ -109,8 +109,7 @@ std::string waybar::ALabel::getIcon(uint16_t percentage, const std::string& alt) | ||||
|  | ||||
| bool waybar::ALabel::tooltipEnabled() | ||||
| { | ||||
|   return !config_["tooltip"].isBool() || | ||||
|     (config_["tooltip"].isBool() && config_["tooltip"].asBool()); | ||||
|   return config_["tooltip"].isBool() ? config_["tooltip"].asBool() : true; | ||||
| } | ||||
|  | ||||
| waybar::ALabel::operator Gtk::Widget&() { return event_box_; } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Piet van der Loo
					Piet van der Loo