Merge branch 'master' into swaybar-ipc

This commit is contained in:
Alex
2021-12-01 11:48:03 +01:00
committed by GitHub
7 changed files with 95 additions and 26 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 {
std::vector<std::string> res = {default_source_name_};
std::vector<std::string> res = {current_sink_name_, default_source_name_};
std::string nameLC = port_name_ + form_factor_;
std::transform(nameLC.begin(), nameLC.end(), nameLC.begin(), ::tolower);
for (auto const &port : ports) {