feat(panel-button): add applet config

This PR adds an optional environment variable to the cosmic-panel-button that allows us to specify how a panel button should present itself (either as 'icon' or as 'text').

The PR also adds the same tracing log that the other applets have, with an initial message notifying that the applet has started.
This commit is contained in:
Ryan Brue 2024-05-06 16:58:25 -05:00 committed by Ashley Wulber
parent 40509c669f
commit 5d4ef77367
5 changed files with 110 additions and 7 deletions

5
Cargo.lock generated
View file

@ -1242,8 +1242,13 @@ dependencies = [
name = "cosmic-panel-button"
version = "0.1.0"
dependencies = [
"cosmic-config",
"freedesktop-desktop-entry",
"libcosmic",
"serde",
"tracing",
"tracing-log",
"tracing-subscriber",
]
[[package]]