This is just a plasmoid I made for myself that does this (not something you will find in plasma 6 as a official feature, just to be clear). The only reason is plasma 6 only is because it’s what I use now but it should work there too if ported to 5.
I am not a KDE developer btw.