Commit graph

32 commits

Author SHA1 Message Date
Ashley Wulber
1ff85a8a1e chore: update dependencies 2026-01-09 21:41:16 +01:00
Ashley Wulber
836c0e378b applet overlap
chore: mpris dep

fix: dock buttons

improv: battery and audio improvements

feat: overlapping padding

fix: input source text button

fix: apply panel spacing to app tray

chore: update libcosmic

fix: spacing and padding

fix(minimize): hide when empty
2025-11-11 16:49:48 -05:00
Vukašin Vojinović
8e57d5b165 chore: update dependencies 2025-10-08 12:30:43 -04:00
Cheong Lau
dd0158d8f0 perf: refactor to reduce memory allocations and cpu work 2025-10-07 17:04:51 +02:00
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
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
a49a040093 refactor: applet tooltips may be for an overflow window 2025-04-14 15:56:50 +02:00
Michael Aaron Murphy
ce4bfdd643
fix(minimize): fixes for recent changes 2025-04-04 03:02:39 +02:00
Michael Aaron Murphy
25263dad7d
fix: missing icons and actions from the dock 2025-04-04 02:30:03 +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
d29c756c3c feat: tooltips for app-list, minimize, and applet buttons 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
Ian Douglas Scott
e9848a2d4f Update for toplevel-info cctk changes
Requires pop-os/cosmic-protocols#49.

The duplication between applets, and
cosmic-workspace/xdg-desktop-portal-cosmic, should be moved to shared
abstractions. But that can be done after moving to
`ext-image-copy-capture`.

`ToplevelInfo` now contains both ext and cosmic handles, so the tuples
of handles and info are needed. Use just the info.
2025-02-13 12:29:39 -08:00
Ian Douglas Scott
4dc6f8b99f Use updated screencopy abstraction 2025-02-06 15:14:47 -08:00
Michael Aaron Murphy
0ce07ffac3
improv(minimize): simplify wayland subscription
Removes the redundant unbounded channel and forwards the subscription's
sender directly to the wayland handler.
2025-01-21 09:56:41 +01: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
Vukašin Vojinović
941cbf546b
fix: padding, spacing, context menu style, and settings buttons 2024-09-24 15:52:17 +02:00
LazyTanuki
b41f30e1a1 fix: make overflow button and status area buttons popup on press down instead of on press
leftovers from #568
2024-08-15 17:52:23 +02:00
Ashley Wulber
68af00a29e feat: minimize 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
8527257ddd chore: add SPDX license identifiers 2024-05-06 21:56:50 +02:00
Ashley Wulber
1760354654 fix: capture dimensions must be > 0 2024-04-29 11:35:34 -04:00
Ashley Wulber
660f5cfc91 fix(minimize): match size of other applets at all sizes 2024-04-28 20:27:54 -04:00
Ashley Wulber
8bf340aa8e chore: update applet icon sizes 2024-04-15 23:46:48 -04:00
Ian Douglas Scott
8128b6cf89
cosmic-screencopy-v2 (#288) 2024-03-25 15:33:34 -06:00
Michael Aaron Murphy
3c4acdacd7 refactor: compile applets as multicall binary 2024-03-14 23:37:37 +01:00
Ashley Wulber
ed049b1269 chore: update libcosmic 2024-03-11 22:16:15 -04:00
Ashley Wulber
090bb9653f
minimize applet (#217)
* chore: add minimize applet skeleton

* fix(minimize): desktop typo

* wip: minimize applet

* feat: include window images, and overlay their icon

* cleanup

* fix: add minimize applet to workspace

* chore: add host wayland display to desktop file for minimize applet

* chore: Cargo.lock

* cleanup: fix typos

* fix: don't hide minimized apps in app-list
2024-03-04 13:08:52 -05:00