ilya-zlobintsev / LACT

Linux GPU Configuration Tool
MIT License
1.45k stars 34 forks source link

Adding it as an applet in the new COSMIC Desktop (written in Rust) #333

Open onlyreportingissues opened 6 months ago

onlyreportingissues commented 6 months ago

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.

ilya-zlobintsev commented 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.

onlyreportingissues commented 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.

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