Commit graph

502 commits

Author SHA1 Message Date
Ian Douglas Scott
29a2dea760
Merge pull request #110 from pop-os/applets-applications-trait
Use `cosmic::Application`
2023-08-23 12:17:26 -07: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
3ad64df5f3
Refactor icons jammy (#108)
* chore: add icons and installation

* refactor: use the new battery icons

* refactor: use audio applet icons

* chore dependency cleanup

* chore: remove icons included in cosmic-icons package

* refactor: use icons for signal strength and fix handling of new connections

* fix: improve some logic for the networking applet

* chore: add cosmic-icons to Depends

* feat: use notifications icons

* chore: set bluetooth icon depending on state

* fix: set default font and text size

* feat (network): add airplane-mode message

* feat (battery): add display icons to the battery applet

* fix (battery): logic for selecting the battery icon & use new battery icons
2023-08-08 16:18:12 -04:00
Ashley Wulber
76ce8838b5 chore: add toolchain 2023-08-03 12:33:09 -04:00
Ashley Wulber
6726873761 fix build 2023-08-03 12:33:09 -04:00
Ashley Wulber
c77265eaed feat(notifications): add icon to show less button 2023-08-03 12:33:09 -04:00
Ashley Wulber
7073d8fc22 fix: add no notifications message to fluent 2023-08-03 12:33:09 -04:00
Ashley Wulber
0476ddd00b fix: remove card stacks that don't have any cards 2023-08-03 12:33:09 -04:00
Ashley Wulber
6ff3e669de remove cards that have no associated notifications 2023-08-03 12:33:09 -04:00
Ashley Wulber
97e82e1299 chore: update cosmic-time 2023-08-03 12:33:09 -04:00
Ashley Wulber
c8891c8af9 refactor: use the cards widget and use peer to peer dbus 2023-08-03 12:33:09 -04:00
Ashley Wulber
c8273f0b4d fix(notifications): layout 2023-08-03 12:33:09 -04:00
Ashley Wulber
9cad9ba649 cleanup(notifications): layout, popup size, and i18n 2023-08-03 12:33:09 -04:00
Ashley Wulber
eb6ac8958d fix(notifications): better handle singular and plural hours and minutes 2023-08-03 12:33:09 -04:00
Ashley Wulber
cc592846cc chore: update dependencies 2023-08-03 12:33:09 -04:00
Ashley Wulber
ee3be25b9b refactor: read initial fd from env 2023-08-03 12:33:09 -04:00
Ashley Wulber
6bb6ee6a92 fix: better handle daemon restarts 2023-08-03 12:33:09 -04:00
Ashley Wulber
94becddc2d cleanup: adjust the layout and styles to more closely match the mockup 2023-08-03 12:33:09 -04:00
Ashley Wulber
44146f8b3d update: notifications util to fix duration since 2023-08-03 12:33:09 -04:00
Ashley Wulber
1767bc2a9d update notifications applet with clear button, and times 2023-08-03 12:33:09 -04:00
Ashley Wulber
68dec69d4c feat: handling of notifications events 2023-08-03 12:33:09 -04:00
Ashley Wulber
060b316365 wip: send dismiss requests and display notifications 2023-08-03 12:33:09 -04:00
Ashley Wulber
c4566730ab more logging 2023-08-03 12:33:09 -04:00
Ashley Wulber
2f7255ea1b notifications: add X-NotificationsApplet key 2023-08-03 12:33:09 -04:00
Ashley Wulber
39b4b1f932 wip: notifications applet subscription for receiving notifications 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
7249b6af68 refactor(bluetooth): use channel subscription 2023-08-02 12:35:26 -06:00
Ashley Wulber
8d9bb40b1b refactor(battery): use channel subscription 2023-08-02 12:35:26 -06:00
Ashley Wulber
ff6e9e3483 refactor(app-list): use channel subscription 2023-08-02 12:35:26 -06:00
Ashley Wulber
1074f3f49b refactor(audio) 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
20e084c808 chore: add applet icons 2023-07-12 09:39:32 -04:00
Ashley Wulber
4b9f46b388 refactor(network): use channel subscriptions 2023-07-10 20:11:04 -04:00
Ashley Wulber
fad3b097d9 fix(network): better handle disconnect 2023-07-10 20:11:04 -04:00
Ashley Wulber
0b0a30898d update flake 2023-06-30 11:50:42 -04:00
MtFBella109
0ebe53201f Update flake.nix 2023-06-30 11:50:42 -04:00
Ashley Wulber
b2636c8b5d chore: update deps 2023-06-23 11:14:45 -04:00
Ashley Wulber
899c3123d1 udpate libcosmic for scaling fixes 2023-06-21 20:49:35 -04:00
Ashley Wulber
eb810a1436 fix: make windows not resizable 2023-06-21 20:49:35 -04: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
5a15ef8d7f update libcosmic 2023-06-21 20:49:35 -04:00
Ashley Wulber
61d527a84c update deps 2023-06-21 20:49:35 -04:00
Ashley Wulber
76bf6a4519 feat: theme management 2023-06-21 20:49:35 -04:00
Brock
3ec06bef80
Init Animations: animate toggler widgets (#96) 2023-06-07 13:43:49 -06:00
Ashley Wulber
8119b29aca chore: add applet key and do some cleanup
the applet key marks an application as possible to be used as an applet
2023-06-01 20:45:31 -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