cosmic-applets/cosmic-applet-battery/Cargo.toml
Ilya Zlobintsev a1a6caf5e5
feat(battery): add option to show charge percentage next to the icon (#994)
* feat(battery): add option to show charge percentage next to the icon

* feat: proper padding and text sizing

* chore: use from_vec instead of from_children

* chore: remove battery percentage setting from applet dropdown

* chore: move config config definition to cosmic-applets-config

* feat: add subscription for config

* chore: revert unnecessary config module change

* fix: correctly scale battery icon size

* chore: change battery applet id

* feat: better battery text sizing

---------

Co-authored-by: Levi Portenier <levi@system76.com>
2026-02-02 14:47:38 -07:00

31 lines
797 B
TOML

[package]
name = "cosmic-applet-battery"
version = "1.0.2"
edition = "2024"
license = "GPL-3.0-only"
[dependencies]
anyhow.workspace = true
cosmic-time.workspace = true
cosmic-config.workspace = true
cosmic-applets-config.workspace = true
drm = "0.14.1"
futures.workspace = true
i18n-embed-fl.workspace = true
i18n-embed.workspace = true
libcosmic.workspace = true
rust-embed.workspace = true
rustc-hash.workspace = true
tokio.workspace = true
tracing-log.workspace = true
tracing-subscriber.workspace = true
tracing.workspace = true
udev = "0.9"
zbus.workspace = true
serde.workspace = true
[dependencies.cosmic-settings-upower-subscription]
git = "https://github.com/pop-os/cosmic-settings"
[dependencies.cosmic-settings-daemon-subscription]
git = "https://github.com/pop-os/cosmic-settings"