mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
fix(pulseaudio): default source format
This commit is contained in:
parent
bb4af295bc
commit
7a3febf6a7
@ -235,7 +235,7 @@ auto waybar::modules::Pulseaudio::update() -> void {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// TODO: find a better way to split source/sink
|
// 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()) {
|
if (source_muted_ && config_["format-source-muted"].isString()) {
|
||||||
format_source = config_["format-source-muted"].asString();
|
format_source = config_["format-source-muted"].asString();
|
||||||
} else if (!source_muted_ && config_["format-source"].isString()) {
|
} else if (!source_muted_ && config_["format-source"].isString()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user