From 3e186734510a056e5949dfa9f0675dfcb711a99b Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 12 Feb 2019 17:55:50 +0100 Subject: [PATCH] fix: remove bluetooth class on else --- src/modules/pulseaudio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/pulseaudio.cpp b/src/modules/pulseaudio.cpp index 1cb1f199..c2a3ffb3 100644 --- a/src/modules/pulseaudio.cpp +++ b/src/modules/pulseaudio.cpp @@ -208,7 +208,7 @@ auto waybar::modules::Pulseaudio::update() -> void label_.get_style_context()->add_class("bluetooth"); } else { label_.get_style_context()->remove_class("muted"); - label_.get_style_context()->add_class("bluetooth"); + label_.get_style_context()->remove_class("bluetooth"); } label_.set_markup( fmt::format(format, fmt::arg("volume", volume_),