mirror of
				https://github.com/rad4day/Waybar.git
				synced 2025-11-04 01:32:42 +01:00 
			
		
		
		
	[sway/window] Add app_id to usable fields in title
This commit is contained in:
		@@ -56,7 +56,8 @@ auto Window::update() -> void {
 | 
			
		||||
    bar_.window.get_style_context()->remove_class("solo");
 | 
			
		||||
    bar_.window.get_style_context()->remove_class("empty");
 | 
			
		||||
  }
 | 
			
		||||
  label_.set_markup(fmt::format(format_, window_));
 | 
			
		||||
  label_.set_markup(fmt::format(format_, fmt::arg("title", window_),
 | 
			
		||||
                                fmt::arg("app_id", app_id_)));
 | 
			
		||||
  if (tooltipEnabled()) {
 | 
			
		||||
    label_.set_tooltip_text(window_);
 | 
			
		||||
  }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user