Time: Replace GTK applet with iced applet

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.
This commit is contained in:
13r0ck 2022-12-15 16:53:29 -07:00 committed by Ashley Wulber
parent 31bea66801
commit 2940341033
6 changed files with 3464 additions and 163 deletions

1
debian/control vendored
View file

@ -19,6 +19,7 @@ Homepage: https://github.com/pop-os/cosmic-applets
Package: cosmic-applets
Architecture: amd64 arm64
Depends:
happiness,
${misc:Depends},
${shlibs:Depends}
Description: Cosmic Applets