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:
parent
31bea66801
commit
2940341033
6 changed files with 3464 additions and 163 deletions
1
debian/control
vendored
1
debian/control
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue