Commit graph

16 commits

Author SHA1 Message Date
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
Ashley Wulber
6726873761 fix build 2023-08-03 12:33:09 -04: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
322e13c80d refactor(workspaces list): use channel subscription 2023-08-02 12:35:26 -06:00
Ashley Wulber
93385bc42c fix: update libcosmic and remove resize option from workspaces window builder 2023-06-21 20:49:35 -04:00
Ashley Wulber
76bf6a4519 feat: theme management 2023-06-21 20:49:35 -04: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
903a5589a3 update libcosmic 2023-04-06 15:12:49 -04:00
Ian Douglas Scott
6d7727a5d0 Update sctk, libcosmic, cosmic-client-toolkit 2023-03-02 14:06:52 -05:00
Ashley Wulber
982b8f5fd1
update: use dyrend & use autosized window in app-list & fix button size in workspaces & only update popup text in time when creating popup 2023-01-20 11:25:53 -05:00
Ian Douglas Scott
72a75eabc7 Use cosmic::SingleThreadExecutor
This cuts down the number of threads per applet process. This is probably
no benefit to having multiple tokio worker threads for a typical applet.
2023-01-19 10:06:39 -05:00
Ian Douglas Scott
f2affe52fb workspaces: Fix clippy lints 2023-01-05 10:09:10 -08:00
Ian Douglas Scott
27e19828fd Use cosmic-client-toolkit helpers in workspace applet 2023-01-03 15:16:59 -08:00
Ashley Wulber
88b4a7d20b
update applets using latest libcosmic auto-sizing popups 2022-12-27 18:35:06 -05:00
Ashley Wulber
a1aa87f5bd refactor: move projects into a workspace 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