Open onlyreportingissues opened 6 months ago
The template you linked is not for applets, it's for making full applications using the iced ui framework and cosmic libraries.
A panel applet is definitely doable using the API, but i don't think it should be part of the application itself.
The template you linked is not for applets, it's for making full applications using the iced ui framework and cosmic libraries.
A panel applet is definitely doable using the API, but i don't think it should be part of the application itself.
That's how it works on COSMIC. The applets are basically tiny applications, means they can't break the system. Here is a project collection to give you an idea how applications & applets work in COSMIC: https://github.com/edfloreshz/cosmic-project-collection
I saw that it's written in Rust. The new COSMIC Desktop is also written in Rust (current state pre-alpha): https://github.com/pop-os/cosmic-epoch
There is also a template for adding new applets: https://github.com/edfloreshz/cosmic-app-template
Would be cool to have it available as an applet there.