Commit graph

59 commits

Author SHA1 Message Date
Ashley Wulber
f812be8554 fix: add size to named icon 2024-01-17 09:35:20 -05:00
Ashley Wulber
fdfa667f38 fix: use libcosmic icon with fallbacks 2024-01-17 09:35:20 -05:00
Ashley Wulber
aab284f6f1 wip: fix icons 2024-01-17 09:35:20 -05:00
Ashley Wulber
d7163f3b5d fix: check the cosmic icon theme and don't filter out apps without an app id 2024-01-17 09:35:20 -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
Ashley Wulber
41d0893b49 fix: use cosmic config to load config 2023-11-16 17:58:04 -08:00
daniel.eades
b9723dd5e0 use 'Self' to refer to own type 2023-11-16 15:47:20 -05:00
daniel.eades
b472a155fc remove redundant clones 2023-11-16 15:47:20 -05:00
daniel.eades
e9af664888 flatten tautological enum names 2023-11-16 15:47:20 -05:00
daniel.eades
2f3fb41a0d collapse 'else-if' blocks 2023-11-16 15:47:20 -05:00
daniel.eades
2bd326750d don't bind unit values 2023-11-16 15:47:20 -05:00
daniel.eades
95833242d7 remove unnecessary casts 2023-11-16 15:47:20 -05:00
daniel.eades
068560e921 use 'map' rather than 'and_then' 2023-11-16 15:47:20 -05:00
daniel.eades
9dcc3fcc35 remove unused imports 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
daniel.eades
41b88532c9 remove needless borrows 2023-11-16 15:47:20 -05:00
daniel.eades
94f9879a39 remove needless return statements 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
Ashley Wulber
21fc43e578 fix: always add divider to app list before un-favorite action 2023-11-13 12:41:37 -05:00
Victoria Brekenfeld
e1d1a09aac app-list: Use double-fork spawn 2023-11-08 10:55:31 -05:00
Victoria Brekenfeld
99da3eda4a app-list: Add xdg-activation 2023-11-08 10:55:31 -05:00
Ashley Wulber
3338cb74b6 refactor: styling improvements 2023-10-24 15:34:21 -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
Victoria Brekenfeld
b71d1b0e1b app-list: Use cosmic theme instead of pop 2023-09-29 10:43:12 -04:00
Victoria Brekenfeld
02ec3a1bf2 app-list: Merge wm_class with app_id and preferr the latter 2023-09-29 14:35:13 +02:00
Victoria Brekenfeld
3488600e82 app-list: Fix default icon 2023-09-29 14:35:13 +02:00
Victoria Brekenfeld
6e15d8e282 app-list: Match by startup WM Class for Xwayland compatibility 2023-09-29 11:43:32 +02:00
Victoria Brekenfeld
d93282c084 app-list: Try to use generic application icon, if icon is missing 2023-09-21 19:21:03 +02:00
Victoria Brekenfeld
353985170c app-list: Don't skip DesktopEntry if icon is missing 2023-09-21 13:20:56 +02:00
Ashley Wulber
2552578eab fix(app-list): increment id counter before use 2023-09-20 18:28:13 -04:00
Ashley Wulber
c67c1911c5 fix: autosize the app list 2023-09-18 11:30:10 -04:00
Ashley Wulber
56d96e5282 fix: clear popup state when it is dismissed by the compositor 2023-09-12 16:27:25 -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
ff6e9e3483 refactor(app-list): use channel subscription 2023-08-02 12:35:26 -06:00
Ashley Wulber
aaf0aa674c fix: app-list ordering of favorites and config updates on drop 2023-07-28 19:21:38 -04:00
Ashley Wulber
eb810a1436 fix: make windows not resizable 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
8b46cc209f cleanup app-list 2023-04-11 19:26:43 -04:00
Ashley Wulber
1391388ec0 feat: polish app list dnd 2023-04-11 19:26:43 -04:00
Ashley Wulber
8a040dd338 feat: basic DnD support 2023-04-11 19:26:43 -04:00
Ashley Wulber
96cc393692 feat: drag source 2023-04-11 19:26:43 -04:00
Ashley Wulber
020e76ad8a refactor: use separate lists for active & favorites on the app-list 2023-04-11 19:26:43 -04:00