Commit graph

16 commits

Author SHA1 Message Date
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
8b46cc209f cleanup app-list 2023-04-11 19:26:43 -04:00
Ashley Wulber
1391388ec0 feat: polish app list dnd 2023-04-11 19:26:43 -04:00
Ashley Wulber
8a040dd338 feat: basic DnD support 2023-04-11 19:26:43 -04:00
Ashley Wulber
96cc393692 feat: drag source 2023-04-11 19:26:43 -04:00
Ashley Wulber
020e76ad8a refactor: use separate lists for active & favorites on the app-list 2023-04-11 19:26:43 -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
Enver Balalic
d621fb8936 fix: crash when no icon found
Specific case when using vscode, the open file/folder dialog
doesn't succeed in looking up the icon on my system. This would
cause lookup to return None, thus the ret vector is empty.
Since we removed the id before the lookup, the append below would
append an empty vec. This would cause an error in AddTopLevel
message handler when trying to remove the first item of the
returned vec.

Move the id remove directly within the map, so it only gets
removed if we succeed in looking up the icon.
2023-02-06 08:39:11 -05:00
Ashley Wulber
b692cdcc05 chore: use latest libcosmic 2023-02-02 23:47:33 -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
ba832143fc app-list: Fix clippy lints 2023-01-05 10:05:19 -08:00
Ashley Wulber
88b4a7d20b
update applets using latest libcosmic auto-sizing popups 2022-12-27 18:35:06 -05:00
13r0ck
a682b8deb0 Move Cosmic Applets into new Dir & remove old applets 2022-12-23 16:14:55 -05:00