Computing the delay only once won't work; it has to be be done each time to stay properly in sync. The time widget should now reliably update at the minute. Co-authored-by: Michael Murphy <michael@mmurphy.dev>
19 lines
515 B
TOML
19 lines
515 B
TOML
[package]
|
|
name = "cosmic-applet-time"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[dependencies]
|
|
icon-loader = { version = "0.3.6", features = ["gtk"] }
|
|
libcosmic.workspace = true
|
|
nix = "0.26.2"
|
|
chrono = { version = "0.4.34", features = ["clock"] }
|
|
once_cell = "1"
|
|
tokio = { version = "1.36.0", features = ["time"] }
|
|
tracing.workspace = true
|
|
|
|
# Application i18n
|
|
i18n-embed = { version = "0.13.4", features = ["fluent-system", "desktop-requester"] }
|
|
i18n-embed-fl = "0.6.4"
|
|
rust-embed = "6.3.0"
|