Merge branch 'Alexays:master' into master
This commit is contained in:
commit
29459371b9
|
@ -54,7 +54,7 @@ class BarIpcClient;
|
|||
}
|
||||
#endif // HAVE_SWAY
|
||||
|
||||
class Bar {
|
||||
class Bar : public sigc::trackable {
|
||||
public:
|
||||
using bar_mode_map = std::map<std::string, struct bar_mode>;
|
||||
static const bar_mode_map PRESET_MODES;
|
||||
|
|
|
@ -106,7 +106,7 @@ auto waybar::modules::Pulseaudio::update() -> void {
|
|||
}
|
||||
} else {
|
||||
label_.get_style_context()->remove_class("source-muted");
|
||||
if (config_["format-source-muted"].isString()) {
|
||||
if (config_["format-source"].isString()) {
|
||||
format_source = config_["format-source"].asString();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue