Merge branch 'Alexays:master' into master

This commit is contained in:
Sonter 2024-08-21 19:14:32 +03:00 committed by GitHub
commit 29459371b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ class BarIpcClient;
} }
#endif // HAVE_SWAY #endif // HAVE_SWAY
class Bar { class Bar : public sigc::trackable {
public: public:
using bar_mode_map = std::map<std::string, struct bar_mode>; using bar_mode_map = std::map<std::string, struct bar_mode>;
static const bar_mode_map PRESET_MODES; static const bar_mode_map PRESET_MODES;

View File

@ -106,7 +106,7 @@ auto waybar::modules::Pulseaudio::update() -> void {
} }
} else { } else {
label_.get_style_context()->remove_class("source-muted"); 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(); format_source = config_["format-source"].asString();
} }
} }