Commit graph

124 commits

Author SHA1 Message Date
Ian Douglas Scott
bc0898fa0a Update dependencies 2024-01-03 10:57:47 -08:00
Ian Douglas Scott
907410fab9 Add cosmic-config settings, and subscribe 2023-12-29 13:44:19 -08:00
Ian Douglas Scott
8718c38a30 Update dependencies 2023-12-26 13:59:31 -08:00
Ian Douglas Scott
b2f81b1a73 i18n 2023-12-26 13:54:29 -08:00
Ian Douglas Scott
0f0ee85d1a Add i18n support 2023-12-26 13:40:38 -08:00
Ian Douglas Scott
68beafe911 Subscribe to changes in cosmic-comp configuration 2023-12-21 10:41:46 -08:00
Ian Douglas Scott
f6ba3b6f98 Run cargo update 2023-12-20 15:07:10 -08:00
Ian Douglas Scott
aac02973c1 Remove unused import 2023-12-20 14:46:43 -08:00
Ian Douglas Scott
79584a6d93 Improve handling of horizontal orientation 2023-12-18 19:59:09 -08:00
Ian Douglas Scott
899dfb0a3d Show icons for toplevels 2023-12-18 19:41:30 -08:00
Ian Douglas Scott
c8f0590a55 Spacing and alignment adjustments 2023-12-18 19:05:22 -08:00
Ian Douglas Scott
6053c527a8 Add some padding around workspaces 2023-12-18 18:47:38 -08:00
Ian Douglas Scott
f40c5919cd Run cargo update 2023-12-15 15:53:53 -08:00
Ian Douglas Scott
06c37e39f5 WIP custom cursor for drag and drop 2023-12-15 15:46:41 -08:00
Ian Douglas Scott
d56a591a9f Passthrough widget implementation with treating as child 2023-12-15 13:39:02 -08:00
Ian Douglas Scott
c4adca76c0 Use delegate crate to simplify things a bit. 2023-12-15 13:33:29 -08:00
Ian Douglas Scott
5a69aff778 Adjust toplevel label style 2023-12-14 16:56:05 -08:00
Ian Douglas Scott
88fa8eecd1 Adjust styling around workspaces sidebar 2023-12-14 16:46:49 -08:00
Ian Douglas Scott
0cebd30600 Fix excessive vertical height taken by button 2023-12-14 16:29:45 -08:00
Ian Douglas Scott
1f4bed40fc Don't expand workspace preview to fill height 2023-12-14 16:24:25 -08:00
Ian Douglas Scott
f189c2d49e Don't remove last workspace 2023-12-14 16:19:53 -08:00
Ian Douglas Scott
3ef8800fb4 Show background image
Harcoded path for now.
2023-12-13 17:58:38 -08:00
Ian Douglas Scott
a3e3bec885 Custom widget for sidebar; closing workspace
Need custom widget currently to distribute space correctly.
2023-12-13 15:54:33 -08:00
Ian Douglas Scott
df81bd4e4c Fix dependency 2023-12-13 12:41:06 -08:00
Ian Douglas Scott
35cb345b70 Run cargo update 2023-12-13 09:41:45 -08:00
Ian Douglas Scott
ea9298c021 Make "New Workspace" button add workspace 2023-12-12 15:36:20 -08:00
Ian Douglas Scott
80e4fb0227 Work around panic 2023-12-12 11:59:32 -08:00
Ian Douglas Scott
89021e3b8b Fix drag and drop; send command to compositor if supported 2023-12-11 14:06:41 -08:00
Ian Douglas Scott
c1e74747f3 Run cargo update
New `libcosmic` avoids unneeded `winit` dependency.
2023-12-11 10:46:49 -08:00
Ian Douglas Scott
e020bf6607 Update libcosmic/iced 2023-12-08 20:14:31 -08:00
Ian Douglas Scott
c939486ce6 Fix a panic 2023-12-06 15:35:25 -08:00
Ian Douglas Scott
5550f41814 dnd: Keep track of drop target
Now just need a protocol to move the toplevel to a workspace.
2023-12-06 11:02:21 -08:00
Ian Douglas Scott
f2c77d035c Drag toplevel to workspace; recognize what toplevel was dragged 2023-12-06 10:51:55 -08:00
Ian Douglas Scott
e5aca0a6b5 Allow dragging toplevel 2023-12-06 10:03:39 -08:00
Ian Douglas Scott
8722fe574a Fix drag and drop code
Still need to implement actual behavior.
2023-12-05 17:44:05 -08:00
Ian Douglas Scott
a85cf3f527 Add "new workspace" button
Still needs implementation. Can't set number of workspaces per display.
2023-12-05 16:58:53 -08:00
Ian Douglas Scott
e85741ca5d Update iced/libcosmic 2023-12-05 09:48:59 -08:00
Ian Douglas Scott
17d231f497 Run cargo update 2023-12-04 11:07:03 -08:00
Ashley Wulber
f61cdc5759 fix: use default style so the workspaces view is not transparent 2023-11-21 19:26:12 -05:00
Ashley Wulber
791441ca10 refactor: single instance 2023-11-21 19:26:12 -05:00
Ian Douglas Scott
a0a11b6e02 More appropriate button theming 2023-11-17 15:12:35 -08:00
Ian Douglas Scott
fccc5f26e5 Initial support for horizontal workspaces 2023-11-17 14:56:37 -08:00
Ian Douglas Scott
94561b9ed1 Use cosmic::widgets 2023-11-16 20:09:10 -08:00
Ian Douglas Scott
0c19ea7167 Add CaptureImage type 2023-11-16 19:38:42 -08:00
Ian Douglas Scott
f5045286a9 Move view functions to a module 2023-11-16 19:25:28 -08:00
Ian Douglas Scott
eb38e3c3ba Fix lints 2023-11-16 13:42:19 -08:00
Ian Douglas Scott
96389fa999 Remove manual Hash impl
Added support for this to wayland-rs.
2023-11-16 13:38:37 -08:00
Ian Douglas Scott
7f1f46c9c7 Error handling when creating gbm buffers 2023-11-16 13:36:38 -08:00
Ian Douglas Scott
295fee8796 Support creating wl_buffer for multi-planar dmabuf
Apparently `I915_y_tiled_ccs` is a 2 plane format.
2023-11-16 13:23:26 -08:00
Ian Douglas Scott
acc7c3d472 Update gbm and run cargo update 2023-11-16 12:01:06 -08:00