This saves a bit of duplicated boilerplate. Applets seem to work fairly well with this. Though we should see if any other changes to initial window settings are needed in certain applets for the exact behavior we want.
23 lines
597 B
TOML
23 lines
597 B
TOML
[package]
|
|
name = "cosmic-applet-power"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[dependencies]
|
|
icon-loader = { version = "0.3.6", features = ["gtk"] }
|
|
libpulse-binding = "2.26.0"
|
|
libpulse-glib-binding = "2.25.0"
|
|
tokio = { version = "1.20.1", features=["full"] }
|
|
libcosmic.workspace = true
|
|
# cosmic-applet = { path = "../applet" }
|
|
nix = "0.26.2"
|
|
zbus = "3.13"
|
|
logind-zbus = "3.1"
|
|
# Application i18n
|
|
i18n-embed = { version = "0.13", features = ["fluent-system", "desktop-requester"] }
|
|
i18n-embed-fl = "0.6"
|
|
rust-embed = "6.6"
|
|
rust-embed-utils = "7.5.0"
|
|
once_cell = "1.17.1"
|
|
|