How to create a Custom System Tray Indicator in KDE plasma?

Hi everybody,

I want to do something like this but under KDE Plasma. Is there an easy way to do it ?

I want to launch some scripts through a system tray indicator in KDE Plasma.


AppIndicator is supported under Plasma, try with provided example, it should work.