Fix pulseaudio icon name compilation error

pull/1170/head
Lars Christensen 2021-07-20 15:25:05 +02:00
parent f43f8773c4
commit 6f2bfd43bf
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ static const std::array<std::string, 9> ports = {
}; };
const std::vector<std::string> waybar::modules::Pulseaudio::getPulseIcon() const { const std::vector<std::string> waybar::modules::Pulseaudio::getPulseIcon() const {
std::vector<std::string> res = {default_sink_name_}; std::vector<std::string> res = {default_source_name_};
std::string nameLC = port_name_ + form_factor_; std::string nameLC = port_name_ + form_factor_;
std::transform(nameLC.begin(), nameLC.end(), nameLC.begin(), ::tolower); std::transform(nameLC.begin(), nameLC.end(), nameLC.begin(), ::tolower);
for (auto const &port : ports) { for (auto const &port : ports) {