Commit graph

135 commits

Author SHA1 Message Date
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
Ian Douglas Scott
185dd48a6f Move panel into an old-panel subdirectory
We expect to replace this with applets running under
https://github.com/pop-os/cosmic-dock-epoch.
2022-05-23 14:16:35 -07:00
Lucy
31bb22f91b
Start work on cosmic-applet-audio 2022-03-07 11:15:29 -05:00
Lucy
fa03b0553b
Start on power applet 2022-02-18 10:31:12 -05:00
Lucy
e03225384b
Start work on graphics applet 2022-02-14 15:41:47 -05:00
Lucy
a518251f16
Initial first applet 2022-02-01 13:24:00 -05:00
Ashley Wulber
c03d6a9d0a dependency update 2022-01-21 16:51:21 -05:00
Ashley Wulber
57263e77c7 upgrade gtkrs 2022-01-21 16:38:58 -05:00
Ian Douglas Scott
8b2a9c6359 Port all dbus server/client to to zbus
Seems to generally be working well. May still need a few fixes.
2022-01-13 13:47:54 -08:00
Ian Douglas Scott
8b5e1a7f12 Use libcosmic for x and wayland modules 2022-01-05 13:41:10 -08:00
Ian Douglas Scott
03999f24a7 Initial layer-shell support
Requires `layer-shell` feature to support, and patched GTK from
https://github.com/pop-os/gtk4/tree/layer-shell_impish.

This is generally working, but some things could be improved. Some of
the methods implemented for `LayerShellWindow` lack logic that exists in
`GtkWindow` that may be important. (For instance, some things related to
CSS). And some things may require more private functions from GTK.

The hard part is getting the necessary work upstreamed in some form.
2022-01-05 12:27:12 -08:00
Ian Douglas Scott
5dc055b143 Update gtk4-rs and rust-toolchain 2021-12-15 11:54:02 -08:00
Ian Douglas Scott
9e4b87814c LGPL 2021-08-31 09:15:07 -07:00
Ian Douglas Scott
1c2e1fbe5b Accessor methods, better debug for menu 2021-08-27 10:44:35 -07:00
Ian Douglas Scott
4917422f21 Start implementing media controls 2021-08-25 19:00:59 -07:00
Ian Douglas Scott
1c92507470 Rename crate to pop-cosmic-panel 2021-08-25 09:01:37 -07:00
Ian Douglas Scott
9fcd57c97f Show correct time 2021-08-24 19:08:48 -07:00
Ian Douglas Scott
ae1ab55421 Initial WIP code 2021-08-24 14:14:08 -07:00