Merge pull request #3818 from Sduniii/patch-1
feat: Added source_desc argument to format_source in pulseaudio.cpp
This commit is contained in:
@@ -119,7 +119,8 @@ auto waybar::modules::Pulseaudio::update() -> void {
|
|||||||
auto sink_desc = backend->getSinkDesc();
|
auto sink_desc = backend->getSinkDesc();
|
||||||
auto source_desc = backend->getSourceDesc();
|
auto source_desc = backend->getSourceDesc();
|
||||||
|
|
||||||
format_source = fmt::format(fmt::runtime(format_source), fmt::arg("volume", source_volume));
|
format_source = fmt::format(fmt::runtime(format_source), fmt::arg("volume", source_volume),
|
||||||
|
fmt::arg("source_desc", source_desc));
|
||||||
|
|
||||||
fmt::dynamic_format_arg_store<fmt::format_context> store;
|
fmt::dynamic_format_arg_store<fmt::format_context> store;
|
||||||
store.push_back(fmt::arg("desc", sink_desc));
|
store.push_back(fmt::arg("desc", sink_desc));
|
||||||
|
|||||||
Reference in New Issue
Block a user