Commit graph

205 commits

Author SHA1 Message Date
Ashley Wulber
158139d466 fix: update and fixes for bluetooth 2023-12-05 15:32:18 -05:00
Ashley Wulber
2dcb76c2d4 chore: open sound settings when button pressed 2023-11-22 08:03:54 -05:00
daniel.eades
aa2d9fe374 add linting CI jobs 2023-11-21 16:59:14 -05:00
daniel.eades
b9723dd5e0 use 'Self' to refer to own type 2023-11-16 15:47:20 -05:00
daniel.eades
a88cbad37f remove needless mutable references 2023-11-16 15:47:20 -05:00
daniel.eades
b472a155fc remove redundant clones 2023-11-16 15:47:20 -05:00
daniel.eades
6cb69bc63b remove redundant pattern matching 2023-11-16 15:47:20 -05:00
W
23294bc529 Add Serbian (Latin) translation 2023-11-09 10:06:29 -07:00
FAlexei
e06158f1e7 Add Russian translation 2023-11-05 07:37:00 -07:00
Ashley Wulber
eef73793bf refactor(audio): update the connection after it has disconnected or been initialized 2023-10-31 11:40:23 -04:00
Ashley Wulber
0db1a96c42 refactor(audio): use mpris2-zbus 2023-10-27 19:46:51 -04:00
Ashley Wulber
9e866088e4 fix(audio): increment counter 2023-10-24 15:34:21 -04:00
Ashley Wulber
17cf0ee4cd fix(audio): layout of media controls 2023-10-24 15:34:21 -04:00
Ashley Wulber
1bd1ac004a chore(audio): styling and deps 2023-10-24 15:34:21 -04:00
Ashley Wulber
557a43517d feat: mpris support for audio applet 2023-10-24 15:34:21 -04:00
Ashley Wulber
3338cb74b6 refactor: styling improvements 2023-10-24 15:34:21 -04:00
Ashley Wulber
d80a801fe5 refactor: use menu button 2023-10-24 15:34:21 -04:00
GroobleDierne
46e9329614 i18(fr): Fix typo, improve with more context 2023-10-23 09:30:52 -06:00
GroobleDierne
c077b5e440 i18(fr): Update French translation 2023-10-23 09:30:52 -06:00
Elmeri.K
9d321822a9 Added Finnish translations 2023-10-17 09:58:41 -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
Chris Kruining
fcd1cfff5e add Dutch translations 2023-10-11 09:07:36 -04:00
Dominic Gerhauser
fefaea9b63 i18(de): Add German translation 2023-10-04 18:57:57 -04:00
Ashley Wulber
56d96e5282 fix: clear popup state when it is dismissed by the compositor 2023-09-12 16:27:25 -04:00
MJ Kim
2d1b8680f9 Added Korean translations 2023-09-05 20:53:51 -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
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
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
1074f3f49b refactor(audio) use channel subscription 2023-08-02 12:35:26 -06:00
Ashley Wulber
20e084c808 chore: add applet icons 2023-07-12 09:39:32 -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
903a5589a3 update libcosmic 2023-04-06 15:12:49 -04:00
Ian Douglas Scott
17c268d9c9 Remove old .gresource.xml files 2023-03-30 14:05:26 -07:00
Ashley Wulber
56ac958de7 fix(audio): panic when messages arrive without a connection 2023-03-14 11:55:16 -04:00
Ashley Wulber
58694c8735 chore(audio): more log statements in the UpdateConnection handler 2023-03-14 11:55:16 -04:00
Ian Douglas Scott
6d7727a5d0 Update sctk, libcosmic, cosmic-client-toolkit 2023-03-02 14:06:52 -05:00
Vixea
a01d5f1b8a Remove extensions from key "Icon"
desktop-file-validate reports that in the future file extensions with relative path files in the future will be fatal error - it seems like it was done in some files lets fix it for the rest
2023-02-22 19:31:04 -05:00
Ashley Wulber
92bacfdf0b feat(audio): allow switching input/output and update outputs/inputs when the popup or revealer is toggled 2023-02-16 18:07:58 -05:00
Ashley Wulber
b692cdcc05 chore: use latest libcosmic 2023-02-02 23:47:33 -05:00
Ashley Wulber
a76353981f feat: update pulse connection every time the audio applet popup is opened 2023-01-31 16:11:45 -05:00
Ian Douglas Scott
72a75eabc7 Use cosmic::SingleThreadExecutor
This cuts down the number of threads per applet process. This is probably
no benefit to having multiple tokio worker threads for a typical applet.
2023-01-19 10:06:39 -05:00
Ashley Wulber
b224e4b3f4 refactor: more like mockup with border radius, padding and some new elements 2023-01-17 13:02:34 -05:00
Ashley Wulber
a253dee83a refactor: make the graphics applet more like the mockup 2023-01-12 18:23:56 -05:00
Ian Douglas Scott
b9a2655210 audio: Fix clippy lints 2023-01-05 09:55:44 -08:00