mirror of
				https://github.com/rad4day/Waybar.git
				synced 2025-11-04 01:32:42 +01:00 
			
		
		
		
	fix: bluetooth status tooltip
This commit is contained in:
		@@ -16,7 +16,7 @@ auto waybar::modules::Bluetooth::update() -> void {
 | 
			
		||||
  if (tooltipEnabled()) {
 | 
			
		||||
    if (config_["tooltip-format"].isString()) {
 | 
			
		||||
      auto tooltip_format = config_["tooltip-format"].asString();
 | 
			
		||||
      auto tooltip_text = fmt::format(tooltip_format, status);
 | 
			
		||||
      auto tooltip_text = fmt::format(tooltip_format, status, fmt::arg("status", status));
 | 
			
		||||
      label_.set_tooltip_text(tooltip_text);
 | 
			
		||||
    } else {
 | 
			
		||||
      label_.set_tooltip_text(status);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user