mirror of
				https://github.com/rad4day/Waybar.git
				synced 2025-11-01 00:12:42 +01:00 
			
		
		
		
	Merge pull request #1081 from David96/master
[modules/pulseaudio] fix bluetooth class for PipeWire
This commit is contained in:
		| @@ -210,7 +210,8 @@ auto waybar::modules::Pulseaudio::update() -> void { | ||||
|   std::string                 tooltip_format; | ||||
|   if (!alt_) { | ||||
|     std::string format_name = "format"; | ||||
|     if (monitor_.find("a2dp_sink") != std::string::npos) { | ||||
|     if (monitor_.find("a2dp_sink") != std::string::npos || // PulseAudio | ||||
|         monitor_.find("a2dp-sink") != std::string::npos) { // PipeWire | ||||
|       format_name = format_name + "-bluetooth"; | ||||
|       label_.get_style_context()->add_class("bluetooth"); | ||||
|     } else { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Alex
					Alex