Basic Iced applet, but it should be noted that the time update logic is a significant improvement. The milliseconds until the next whole minute is calculated, then via tokio the thread sleeps until then. Meaning that the clock applet is only running (from my testing) for 3 milliseconds a minute. This takes less recources and is more accurate than checking every second from app start like the old gtk applet did.
25 lines
500 B
Text
25 lines
500 B
Text
Source: cosmic-applets
|
|
Section: admin
|
|
Priority: optional
|
|
Maintainer: system76 <info@system76.com>
|
|
Build-Depends:
|
|
debhelper (>= 11),
|
|
debhelper-compat (= 11),
|
|
rustc (>=1.63),
|
|
cargo,
|
|
libgtk-4-dev,
|
|
libadwaita-1-dev,
|
|
libpulse-dev,
|
|
just,
|
|
pkg-config,
|
|
desktop-file-utils,
|
|
Standards-Version: 4.3.0
|
|
Homepage: https://github.com/pop-os/cosmic-applets
|
|
|
|
Package: cosmic-applets
|
|
Architecture: amd64 arm64
|
|
Depends:
|
|
happiness,
|
|
${misc:Depends},
|
|
${shlibs:Depends}
|
|
Description: Cosmic Applets
|