A template for developing applets for the COSMIC™ desktop environment using libcosmic.
To create an applet with this template, install cargo generate
and run:
cargo generate gh:cosmic-utils/cosmic-applet-template
A justfile is included by default with common recipes used by other COSMIC projects. Install from casey/just
just
builds the applet with the defaultjust build-release
recipejust run
builds and runs the appletjust install
installs the project into the systemjust vendor
creates a vendored tarballjust build-vendored
compiles with vendored dependencies from that tarballjust check
runs clippy on the project to check for linter warningsjust check-json
can be used by IDEs that support LSP
Refer to the libcosmic API documentation and book for help with building applets with libcosmic.