Commit graph

20 commits

Author SHA1 Message Date
Cheong Lau
8e0f1c4a09
chore: apply recommendations from clippy 2025-10-04 02:51:18 +02:00
Vukašin Vojinović
2b7b4cba56 chore: update to Rust 2024 edition 2025-08-18 16:44:50 +02:00
Ian Douglas Scott
7ba2ed0c53 Update to workspace v2, based on ext-workspace
In the workspace applet, this now uses `Workspace` in the front-end code
instead of a tuple with unnamed fields. Handling of scrolling is also
moved to the frontend, which uses less code and seems more natural. It
would be good to have a helper in libcosmic for this. It also changes
`ObjectId` to `ExtWorkspaceHandleV1`, which is a little simpler and I
see no reason here to avoid the more strongly typed object.

At some point we may want a shared subscription for workspaces in
multiple applets. As well as a higher-level abstraction for screen
capture.
2025-03-07 22:23:55 -08:00
Vukašin Vojinović
0640e88412 chore: merge imports 2024-07-09 16:26:27 +02:00
Ashley Wulber
39623ad704 fix(workspace-list): debounce scroll events 2024-05-15 14:56:27 +02:00
Michael Aaron Murphy
8527257ddd chore: add SPDX license identifiers 2024-05-06 21:56:50 +02:00
Michael Aaron Murphy
3c4acdacd7 refactor: compile applets as multicall binary 2024-03-14 23:37:37 +01:00
Ashley Wulber
ebca17aba7 refactor: set dispatch to None for tiling and workspaces 2024-03-06 11:51:44 -05:00
Ashley Wulber
336141e69d fix: workspaces scrolling 2024-01-04 17:18:58 -05:00
Ashley Wulber
2141230229 refactor: connect to privileged socket if possible 2023-11-15 12:23:11 -05:00
Ashley Wulber
4107f18d81 fix: app-list panic on activate and build 2023-10-11 19:46:07 -04: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
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
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
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
Renamed from applets/cosmic-applet-workspaces/src/wayland.rs (Browse further)