Commit graph

98 commits

Author SHA1 Message Date
Vukašin Vojinović
87dca9eda4 improv(view): use ellipsis for labels 2026-02-20 23:54:21 +01:00
Vukašin Vojinović
5fbbf4ba37 chore: update dependencies 2026-02-20 23:54:21 +01:00
Lysander Treumann
f6e4a0b740 Added updated Cargo.lock 2026-02-03 10:51:09 +01:00
Ashley Wulber
954a45ca4c chore: update cosmic-text 2025-12-09 22:22:12 +01:00
Ian Douglas Scott
a607da7f44 Use libcosmic DiscreteScrollState helper 2025-12-08 13:12:02 -08:00
Ian Douglas Scott
41a940660c Use subscriptions to monitor cosmic-panel configs 2025-11-13 16:27:28 -08:00
Ian Douglas Scott
e56db2bae8 Update dependencies
Includes https://github.com/pop-os/libcosmic/pull/1040
2025-11-13 16:27:28 -08:00
Ian Douglas Scott
9968b0e61f workaround: Force shm on Meteor/Arrow/Lunar Lake 2025-09-22 14:45:40 -07:00
Ian Douglas Scott
b8780b9911 dbus: Add methods to show or hide 2025-09-22 14:41:29 -07:00
Ian Douglas Scott
c9a69bdfdb Expose DBus protocol with signals indicating when shown/hidden 2025-09-22 14:41:29 -07:00
Ian Douglas Scott
5193756e4d Update cosmic-client-toolkit 2025-09-17 10:39:50 -07:00
Vukašin Vojinović
a939335b9e chore: Rust 2024 and update dependencies 2025-09-11 14:03:30 -07:00
Ian Douglas Scott
30ca652b1e Update cctk
Includes https://github.com/pop-os/cosmic-protocols/pull/62.
2025-06-25 17:54:18 -07:00
Ian Douglas Scott
2f8f689cfd Update rustix to 1.x
We have both in the dependency tree now, so may as well update here.
2025-06-12 13:02:54 -07:00
Ian Douglas Scott
d62ff0101d Run cargo update
Should include https://github.com/pop-os/iced/pull/229.
2025-06-12 13:02:54 -07:00
Ian Douglas Scott
31f45648ca Update to zbus 5.x 2025-05-23 09:46:33 -07:00
Ian Douglas Scott
5bb719f617 Use cosmic-freedesktop-icons, like libcosmic 2025-05-15 10:05:57 -07:00
Ian Douglas Scott
bf0830c20e Run cargo update 2025-05-15 10:00:27 -07:00
Ian Douglas Scott
3c9a923f41 Add support for workspace pinning and dragging
Workspaces can be pinned, and dragged to reorder or move to a different
output.

These features are enabled only if cosmic-workspace-v2 advertises the
necessary protocol version and capabilities.

The layout of the labels and pin buttons could be tweaked a bit still.
Some hacks and workarounds are needed to get drag and drop working as
desired. Something iced and libcosmic could potentially improve in the
future. But this now seems fairly robust.
2025-04-22 11:43:30 -07:00
Vukašin Vojinović
2b7a8b133e improv(view): make workspace item sizing more dynamic
This makes the `workspace_bar` more responsive to different child sizes, which enables fixing the size of the smaller dimension of the screencopy, while allowing it to expand unrestricted in the larger dimension (to match the aspect ratio).
2025-04-16 18:25:04 -07:00
Ian Douglas Scott
74270a2deb Use ThreadExecutor instead of calloop executor
I thought the calloop executor had been fixed, but it still seems to
have issues that were preventing capture of continuous frames from
working consistently.

Fixes https://github.com/pop-os/cosmic-workspaces-epoch/issues/160.
2025-04-15 12:34:37 -07:00
Ian Douglas Scott
874245bc2e Use aliasable in AxisToplevelLayout to use slice in argument
This makes layouts possible to compose without clones.
2025-03-24 14:59:25 -07:00
Ian Douglas Scott
a9dcdce525 chore: update libcosmic 2025-03-14 13:42:42 -07:00
Ian Douglas Scott
6b6bf454db Update to workspace v2, based on ext-workspace
Requires https://github.com/pop-os/cosmic-protocols/pull/51,
https://github.com/pop-os/cosmic-comp/pull/1225.

The new protocol version is a hard requirement, and this will panic
without it.
2025-03-07 22:24:36 -08:00
Ian Douglas Scott
4acd62abb0 Update for toplevel-info cctk changes 2025-02-13 11:46:45 -08:00
Ian Douglas Scott
a977667ac5 Use updated screencopy abstraction
Requires https://github.com/pop-os/cosmic-protocols/pull/46.
2025-02-04 13:58:20 -08:00
Ian Douglas Scott
a428659ade Use std LazyLock instead of once_cell crate 2025-01-16 10:21:35 -08:00
Ian Douglas Scott
8c4e66691c Run cargo update 2025-01-14 09:15:34 -08:00
Ian Douglas Scott
e1895ea3d7 Update dependencies 2025-01-13 10:42:44 -08:00
Ian Douglas Scott
b70828e23f Update iced/libcosmic 2025-01-13 10:26:45 -08:00
Ian Douglas Scott
c1acf0c1aa Run cargo update 2024-08-01 12:06:24 -07:00
Ian Douglas Scott
8e7e81bdcf Run cargo update 2024-07-10 18:29:57 -07:00
Ian Douglas Scott
5e6c6054a9 Run cargo update; with iced changes and new wayland-rs 2024-06-12 09:17:06 -07:00
Michael Aaron Murphy
a936ac96c1
chore: update cargo dependencies 2024-06-11 12:19:17 +02:00
Ian Douglas Scott
4a1d66dfd6 Run cargo update 2024-05-31 21:05:45 -07:00
Ian Douglas Scott
249c62ee0a Update libcosmic/iced 2024-04-30 16:25:50 -07:00
Ian Douglas Scott
d759e1d7c2 Use cosmic_bg_config to get background
Scaling doesn't match `cosmic-bg`?
2024-04-30 12:49:08 -07:00
Ian Douglas Scott
76daf6e980 Update libcosmic/iced for drag-and-drop fixes 2024-04-24 12:46:57 -07:00
Ian Douglas Scott
3a60ba9565 Update gbm and run cargo update 2024-04-19 09:30:45 -07:00
Ian Douglas Scott
e928053697 Run cargo update 2024-04-03 09:17:00 -07:00
Ian Douglas Scott
094c28e105 cosmic-screencopy-v2 2024-03-25 10:24:47 -07:00
Ian Douglas Scott
f9cf9568d2 Update dependencies 2024-03-05 12:38:52 -08:00
Ian Douglas Scott
ab4cfd5bc5 Enable iced wgpu backend, which seems to perform better
A good software renderer probably should perform fine where subsurfaces
are used like for the actual images. Perhaps more improvement is needed
in the renderer.
2024-03-01 14:42:53 -08:00
Ian Douglas Scott
1bfcd50383 Update calloop, libcosmic, etc. 2024-03-01 13:07:37 -08:00
Ian Douglas Scott
49ca11ab0c Run cargo update 2024-02-09 11:17:13 -08:00
Ian Douglas Scott
66fcf19ccc Run cargo update, and remove use of WorkspaceAmount
`WorkspaceAmount` has been removed from cosmic-comp for now.
2024-02-07 19:52:33 -08:00
Ian Douglas Scott
015f61922b Update libcosmic 2024-02-06 13:32:29 -08:00
Ian Douglas Scott
2164c1ea5a Create shm buffer directly instead of using RawPool
Currently needed if we want an fd to pass to iced-sctk for subsurfaces.
Rather than a wl_buffer.

It would be good if this logic and the dmabuf type could be shared in
some crate.
2024-01-26 14:13:58 -08:00
Ian Douglas Scott
01a64b11fa Add scheduler for async in wayland thread 2024-01-25 17:06:28 -08:00
Ian Douglas Scott
b60102c908 Update dependencies 2024-01-22 14:56:31 -08:00