Commit graph

67 commits

Author SHA1 Message Date
Ashley Wulber
158139d466 fix: update and fixes for bluetooth 2023-12-05 15:32:18 -05:00
Ashley Wulber
f5c51ecc92 chore: open settings when time settings is pressed 2023-11-22 08:03:54 -05:00
Ashley Wulber
ed2ab8d91a update deps and cleanup 2023-11-13 12:41:37 -05:00
Victoria Brekenfeld
e69396dac0 chore: Update sctk/cctk 2023-11-08 10:55:31 -05:00
Ashley Wulber
0db1a96c42 refactor(audio): use mpris2-zbus 2023-10-27 19:46:51 -04:00
Ashley Wulber
1bd1ac004a chore(audio): styling and deps 2023-10-24 15:34:21 -04:00
Ashley Wulber
d80a801fe5 refactor: use menu button 2023-10-24 15:34:21 -04:00
Ashley Wulber
a01b9720de chore: update libcosmic 2023-10-24 15:34:21 -04:00
Ashley Wulber
a58fedba44 tiling applet improvements 2023-10-24 15:34:21 -04:00
Ashley Wulber
282e4911c9
Update libcosmic jammy (#128)
* update libcosmic

* fix checkmarks for graphics applet

* chore: update

* update iced

* chore: udpate libcosmic
2023-10-18 13:23:13 -04:00
Eduardo Flores
486eff3eb3 Apply suggestions 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
Eduardo Flores
3353dc95ac Initial implementation of the Tiling applet 2023-10-11 19:46:07 -04:00
Ian Douglas Scott
6a64486163 Iced port of status area applet
This is based on the GTK version of the status area applet that was
previously in this repository.

This exposes app indicators found over dbus. As used in applications
like nm-applet and steam.
2023-08-24 16:57:27 -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
6726873761 fix build 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
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
Brock
3ec06bef80
Init Animations: animate toggler widgets (#96) 2023-06-07 13:43:49 -06: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
Ian Douglas Scott
0ba4182560 Add back cosmic-panel-button 2023-03-31 19:05:57 -07:00
Ashley Wulber
4f9544f682 fix: uncomment lto 2023-02-15 11:17:44 -05:00
Ashley Wulber
000ac7b8b4 wip: bluetooth applet 2023-02-15 11:17:44 -05:00
Ashley Wulber
c10087a55d
feat: more improvements to network applet 2023-01-10 14:53:25 -05:00
Brock
5c4aff2c9a
Use linker time optimization for release builds (#47)
This reduces total package size by ~25%. There are no runtime
consequences, though this does nearly double build times. But
with the cargo workspace, this repo builds pretty quick.
As well the same `lto` settings are already used in cosmic-comp.
2022-12-29 13:13:47 -07:00
Ashley Wulber
a1aa87f5bd refactor: move projects into a workspace 2022-12-23 16:14:55 -05:00
13r0ck
31362c7dc1 Update debian packaing for new repo structure. 2022-12-23 16:14:55 -05:00
13r0ck
3ae4eb635a Notifications: Replace gtk app with iced applet
Currently this is just a pretty box that shows no notifications.
2022-12-23 16:14:55 -05:00
Ashley Wulber
8223c76361 feat: app list is displayed and updated 2022-12-23 16:14:55 -05:00
13r0ck
87a88931b4 Update Debian packaging for iced based applet. 2022-12-19 21:22:11 -05:00
Brock
31bea66801
Power: Replace gtk applet with iced applet (#32)
* Power: Replace gtk applet with iced applet

No functionality yet, but the layout is nearly done. Only small
tweaks needed to font and svg backgrounds.

* Power: Add suspend+restart+shutdown functionality

* Power: Add lock + log out + settings

* Fix build.

* Fix window placement
2022-12-12 13:41:16 -05:00
Ashley Wulber
9ef8098498
Iced network applet (#31)
* builds and shows basic applet

* feat: connect up subscriptions

* feat: network applet mostly working
2022-12-09 15:31:19 -05:00
Brock
f3b5713ff5
Sound applet rewrite (#28)
* Reset cosmic-applet-audio

* save point with rwlock to talk to pulse

* almost making pulse work with a subscription, but awating results causes a panic

* maybe threaded

* Working pulse connection

* working async pulse audio listener

* cargo fmt

* working communication

* make worky ChannelVolumes

* more fixy

* working control for speaker volume

* fix changing volume on input

* Initial port to iced-sctk

* Fix revealer return types

* fix: build

* feat: more applet updates

Co-authored-by: Ashley Wulber <ashley@system76.com>
2022-12-08 13:58:39 -05:00
Ashley Wulber
6a98d7f7c8
feat: iced battery applet 2022-12-02 20:24:52 -05:00
Ashley Wulber
a7b099b4b3
refactor: use iced workspaces applet 2022-11-29 16:52:31 -05:00
Ashley Wulber
eab7ddea1d
Iced graphics applet (#26)
* feat: builds deb

* feat: working iced graphics applet

* fix: update deps to get fixes for iced-sctk

* fix: better popup size

* fix: better styling of button & popup

* fix: better popup container

* feat: sticky graphics mode after selection

* fix: refactor & handle close requests
2022-11-17 10:38:48 -05:00
Ashley Wulber
b73e755a42
cleanup: remove unused patch 2022-09-13 13:27:20 -04:00
Ashley Wulber
22ba26fed8
update: dependencies 2022-09-13 12:38:30 -04:00
Ashley Wulber
ec7a615d22
fix: bind to output before workspaces and use latest cosmic-panel-config 2022-09-12 13:50:45 -04:00
Ian Douglas Scott
f56b160635 Library for shared applet code; use in battery applet
Creates window, button, and popover with correct properties and CSS
style.
2022-07-01 21:33:58 -07:00
Ian Douglas Scott
061a891c5e Update everything to gtk-rs git, relm4 next
Now everything is in one workspace again. Hopefully this also builds on
CI.
2022-06-29 13:58:29 -07:00
Ian Douglas Scott
1d40fe9a23 audio: Use relm4 next branch 2022-06-29 13:18:44 -07:00
Ian Douglas Scott
14101dc7db Install battery applet, and make it work in the panel 2022-06-25 22:28:56 -07:00
Ian Douglas Scott
198fe3dd71 Start implementing battery applet 2022-06-17 14:37:01 -07:00
Ian Douglas Scott
9b58739a96 Move time code from old-panel into an applet
Removes the last of `old-panel`.
2022-06-10 16:20:46 -07:00
Ian Douglas Scott
04ce88e4ce Initial port of notifications to an applet 2022-06-10 15:31:31 -07:00
Ashley Wulber
02e240b6bb
feat: generated workspaces protocol and various improvements 2022-06-08 23:51:33 -04:00
Ashley Wulber
464338585c
chore: add cosmic app list and cosmic panel buttons 2022-06-06 11:52:45 -04:00
Ian Douglas Scott
f50ed504b1 Move status area code into an applet 2022-06-03 19:36:05 -07:00