Commit graph

56 commits

Author SHA1 Message Date
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
Ashley Wulber
619550cf61 fix: handling of surface action 2025-03-18 08:13:03 -04:00
Ashley Wulber
c54ddeb38a chore: udpate libcosmic 2025-03-14 14:26:42 -04:00
Ashley Wulber
a2c4268eb9 cargo fmt 2025-03-14 14:26:42 -04:00
Ashley Wulber
0de336d0d7 update libcosmic: adds tooltip support 2025-03-14 14:26:42 -04: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ć
6b740c59be fix(app-list): use context menu radius from theme 2024-11-04 08:47:36 -05:00
Ashley Wulber
5b5cd77e7c update iced 2024-10-31 17:52:33 -04:00
Ashley Wulber
6630709970 chore: update libcosmic
enable desktop-systemd-scope
2024-10-16 18:59:22 -06:00
Ashley Wulber
6661598839 feat: misc overflow 2024-07-24 08:51:46 -04:00
Ashley Wulber
0571c97b86 wip: overflow 2024-07-24 08:51:46 -04:00
Vukašin Vojinović
0640e88412 chore: merge imports 2024-07-09 16:26:27 +02:00
Michael Aaron Murphy
8ba8ccd6c0
improv: context menu and window preview styling
Closes #480
Closes #481
2024-06-07 00:06:12 +02:00
Ashley Wulber
afff0793aa feat: applet text scaling based on panel size 2024-05-16 18:41:47 +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
Ashley Wulber
8bf340aa8e chore: update applet icon sizes 2024-04-15 23:46:48 -04:00
Ryan Brue
a4b0d2de4e workspaces: click active workspace to open overview 2024-04-09 15:26:58 -06:00
Ashley Wulber
71cb9e64ec fix: better button sizing so there are no gaps 2024-03-28 19:54:24 -04: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
d17894f94e chore: clippy 2024-02-20 10:55:08 -05:00
Ashley Wulber
0ab6f724fb chore: update libcosmic 2024-02-06 16:21:16 -05:00
Ashley Wulber
d4e0dd8fb8 fix: make all subscriptions resistant to being restarted
many of the errors we've been seeing the last few days are because of subscriptions which are restarting
2024-01-18 23:16:17 -05:00
Ashley Wulber
ebe688c747 chore: use dbus config subscription for app list 2024-01-18 23:16:17 -05:00
Ashley Wulber
6851d9de54 fix: logging and use dbus config subscription in audio applet 2024-01-18 23:16:17 -05:00
Ashley Wulber
336141e69d fix: workspaces scrolling 2024-01-04 17:18:58 -05:00
Ashley Wulber
e5db5ab1dd
chore: update libcosmic (#168) 2023-12-11 14:45:36 -05:00
Ian Douglas Scott
0e84d0f3cb Update libcosmic/iced 2023-12-05 15:32:18 -05:00
daniel.eades
aa2d9fe374 add linting CI jobs 2023-11-21 16:59:14 -05:00
daniel.eades
b9723dd5e0 use 'Self' to refer to own type 2023-11-16 15:47:20 -05:00
daniel.eades
3d81eb874f remove redundant closures 2023-11-16 15:47:20 -05:00
daniel.eades
12ef9ce993 remove useless conversions 2023-11-16 15:47:20 -05:00
Ashley Wulber
2141230229 refactor: connect to privileged socket if possible 2023-11-15 12:23:11 -05:00
Victoria Brekenfeld
f3c776041a deps: Update libcosmic 2023-10-30 13:52:19 -04:00
Victoria Brekenfeld
253949022b workspaces: Cleaner design 2023-10-30 13:52:19 -04:00
Ashley Wulber
4107f18d81 fix: app-list panic on activate and build 2023-10-11 19:46:07 -04:00
Eduardo Flores
276ecc7d6c Switch back to libcosmic upstream 2023-10-11 19:46:07 -04:00
Eduardo Flores
c7b25daa71 Update libcosmic 2023-10-11 19:46:07 -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
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