fix(pulseaudio): default source format

This commit is contained in:
Alex 2019-05-21 14:55:17 +02:00
parent bb4af295bc
commit 7a3febf6a7
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,7 @@ auto waybar::modules::Pulseaudio::update() -> void {
}
}
// TODO: find a better way to split source/sink
std::string format_source = "{source_volume}%";
std::string format_source = "{volume}%";
if (source_muted_ && config_["format-source-muted"].isString()) {
format_source = config_["format-source-muted"].asString();
} else if (!source_muted_ && config_["format-source"].isString()) {