


Plasma 5 Multimedia by Zren 49 comments

Plasma 5 Multimedia by Zren 49 comments
https://pastebin.com/raw/zBAymwPQ - Jan 22 2021

Plasma 5 Multimedia by Zren 49 comments
// for label
} else if (name.indexOf('alsa_output.') === 0) {
} else if (name.indexOf('alsa_output.') === 0) {
if (name.indexOf('_Headset-') >= 0) {
return i18n("Headset")
} else if (name.indexOf('.analog-') >= 0) {
return i18n("Speaker")
} else if (name.indexOf('.hdmi-') >= 0) {
return i18n("HDMI")
}
}
// for icon
if (startsWith(PulseObject.name, 'alsa_output.') && PulseObject.name.indexOf('_Headset-') >= 0) {
return 'audio-headphones'
}
Thanks for the help ! - Jan 22 2021

Plasma 5 Multimedia by Zren 49 comments
One question though, any way to change the icons of the output device (without actually changing profiles) ? Or maybe display custom names above the icon?
I always have to hover over to see which speaker is which. - Jan 21 2021

Plasma 5 Multimedia
by
Zren