Commit graph

30 commits

Author SHA1 Message Date
Vukašin Vojinović
c54bf8e189 chore: update dependencies
Also removes unused dependencies from workspace members.
2025-09-10 17:23:35 +02:00
Vukašin Vojinović
054cf4aca1 refactor(time): update to icu 2.0.0 2025-09-03 16:34:05 +02:00
Vukašin Vojinović
2c618622d3 chore: update dependencies
Sets the resolver to 3, so it's Rust-version aware. Without it, some dependencies get updated to versions needing Rust versions newer than the target.
2025-08-18 16:44:50 +02:00
Vukašin Vojinović
2b7b4cba56 chore: update to Rust 2024 edition 2025-08-18 16:44:50 +02:00
Vukašin Vojinović
c3fafd3910 chore: use std::sync::LazyLock
Removes `once_cell` as a direct dependency.
2025-08-18 16:44:50 +02:00
Jason Hansen
2e4460b423
fix(time): update time when resuming from sleep 2025-07-08 16:58:08 +02:00
Jeremy Soller
515dbb3337
Restructure config to fix debian builds 2025-05-09 19:17:28 -06:00
Jeremy Soller
edaf5b994e Expose applet configs, starting with time applet 2025-05-09 13:49:30 -06:00
Michael Aaron Murphy
dc86f23a73
chore: upgrade all dependencies 2025-02-19 18:31:56 +01:00
Ashley Wulber
5b5cd77e7c update iced 2024-10-31 17:52:33 -04:00
Ryan Brue
0a32d27c70 chore(license): clarify GPL-3.0 license as GPL-3.0-only
Signed-off-by: Ryan Brue <ryanbrue.dev@gmail.com>
2024-09-16 07:40:23 -06:00
Josh Megnauth
323e8a55b2 fix(time): Update applet timezone on change
Closes: #582

The chrono crate caches the local timezone but doesn't update it. This
makes sense because it'd be inefficient to constantly evaluate the local
timezone.

Instead of using the local timezone, this patch changes the applet to
use a fixed offset internally which is updated if the external timezone
changes.
2024-08-17 13:24:19 +02:00
wiiznokes
406cab9a91
Time applet localization v2 (#455) 2024-05-24 23:16:25 -04:00
Michael Aaron Murphy
8527257ddd chore: add SPDX license identifiers 2024-05-06 21:56:50 +02:00
Michael Aaron Murphy
132ea0de3c
chore(cargo): replace nix with rustix 2024-03-25 15:33:23 -06:00
Michael Aaron Murphy
074d962ae9 chore(cargo): remove unused icon-loader dependency 2024-03-15 16:21:29 +01:00
Michael Aaron Murphy
e0632b8c6f chore(cargo): upgrade dependencies across workspace 2024-03-14 23:37:37 +01:00
Michael Aaron Murphy
3c4acdacd7 refactor: compile applets as multicall binary 2024-03-14 23:37:37 +01:00
Ian Douglas Scott
fee7eefe5b
time: Calculate period to wait on each iteration (#237)
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>
2024-02-27 13:51:42 -08:00
Ashley Wulber
f5c51ecc92 chore: open settings when time settings is pressed 2023-11-22 08:03:54 -05:00
PixelDots
57b2c71804 Time Applet Window design implementation 2023-10-24 18:40:53 -04:00
Ian Douglas Scott
a23f181b7f Use cosmic::Application/cosmic::app::applet
This saves a bit of duplicated boilerplate.

Applets seem to work fairly well with this. Though we should see if any
other changes to initial window settings are needed in certain applets
for the exact behavior we want.
2023-08-23 10:24:56 -07:00
Ian Douglas Scott
294cf6f3a7 Update dependencies, and use workspace dependencies
Using `[workspace.dependencies]`, we can update `rev =` for a dependency
in one place, instead of each individual applet.
2023-08-02 12:36:01 -06:00
Ashley Wulber
5a15ef8d7f update libcosmic 2023-06-21 20:49:35 -04:00
Ashley Wulber
61d527a84c update deps 2023-06-21 20:49:35 -04:00
Brock
3ec06bef80
Init Animations: animate toggler widgets (#96) 2023-06-07 13:43:49 -06:00
Ashley Wulber
9ebd9b511a
wip: update libcosmic (#93)
* wip: update libcosmic

* fix: damge issue resolved by updating iced

* fix: high cpu usage by time applet and app-list

* refactor subscriptions to produce fewer events

* refactor network applet to use less cpu

* fix: text size

* refactor: i18n for audio applet

* refactor: power applet i18n setup

* fix (battery): always send profile update

* fix (battery): set toggler width to layout correctly

* fix (app-list): backoff for restarts of toplevel subscription

* fix (network): alignment

* feat: ask for comfirmation before applying power applet actions

* wip: integrate cosmic-config

* update zbus

* feat: update to use latest libcosmic

* update iced

* udpate deps

* update deps

* refactor: move applet helpers to this repo, outside of libcosmic.

this should help alleviate some dependency hell

* chore update deps

* update deps

* cleanup
2023-06-01 12:23:12 -04:00
Ashley Wulber
a253dee83a refactor: make the graphics applet more like the mockup 2023-01-12 18:23:56 -05:00
13r0ck
2a417a9156 Time: Remove duplicate tokio dep 2022-12-23 16:14:55 -05:00
13r0ck
a682b8deb0 Move Cosmic Applets into new Dir & remove old applets 2022-12-23 16:14:55 -05:00
Renamed from applets/cosmic-applet-time/Cargo.toml (Browse further)