Commit graph

104 commits

Author SHA1 Message Date
Lucy
d7db1243e4
Compile connection info down into an ActiveConnectionInfo enum 2022-02-07 11:33:39 -05:00
Lucy
13c7f2fe4d
Work on current networks stuff 2022-02-07 11:13:34 -05:00
Lucy
15b31c8b7f
update cosmic_dbus_networkmanager 2022-02-07 11:13:25 -05:00
Lucy
8c376e1df2
task::wait_for_local can now return a value 2022-02-07 11:13:13 -05:00
Lucy
8f170b9147
Begin also working on current networks 2022-02-04 13:44:37 -05:00
Lucy
131b1e501c
Hide separator if there are no visible networks 2022-02-04 12:51:17 -05:00
Lucy
f9bea05bbb
This should maybe work? 2022-02-02 16:54:08 -05:00
Lucy
7941c2f6a3
Add task:wait_for_local 2022-02-02 16:28:08 -05:00
Lucy
585946bbfa
Rewrite available wifi code into something much cleaner 2022-02-02 16:22:43 -05:00
Lucy
f3a20ec7b2
Add more code from cosmic-settings
We probably should split this out into its own library, tbh
2022-02-02 14:46:47 -05:00
Lucy
8e0c636ed3
Start on other parts of applet 2022-02-02 12:31:30 -05:00
Lucy
dee87d10b6
Improve spacing on main box 2022-02-02 11:05:47 -05:00
Lucy
9da2b030d7
Port SettingsEntry from cosmic-settings 2022-02-02 11:05:36 -05:00
Lucy
9ed29eab94
Basic UI work 2022-02-01 16:46:25 -05:00
Lucy
ba677af0f4
Basic app layout 2022-02-01 14:10:15 -05:00
Lucy
a518251f16
Initial first applet 2022-02-01 13:24:00 -05:00
Ian Douglas Scott
c555037160 Run cargo update 2022-01-31 11:42:48 -08:00
Ian Douglas Scott
5e04b53378 Run cargo update 2022-01-24 14:30:12 -08:00
Ian Douglas Scott
31cb313e07 mpris: Use zbus streams in a better way
I believe this is correct, and works around a zbus issue affecting the
previous implementation:
https://gitlab.freedesktop.org/dbus/zbus/-/merge_requests/460.
2022-01-24 14:27:54 -08:00
Ashley Wulber
c03d6a9d0a dependency update 2022-01-21 16:51:21 -05:00
Ashley Wulber
25806a6272 layer shell upgrade gtkrs 2022-01-21 16:43:53 -05:00
Ashley Wulber
57263e77c7 upgrade gtkrs 2022-01-21 16:38:58 -05:00
Ian Douglas Scott
6b53c2cded Don't unwrap() 2022-01-13 16:23:15 -08:00
Ian Douglas Scott
deb72c42af Make Hints directly deserializable 2022-01-13 15:09:57 -08:00
Ian Douglas Scott
fdf36c4a66 Mpris fixes/improvements 2022-01-13 14:30:15 -08:00
Ian Douglas Scott
414cbeba0f Handle different StatusNotifierItem format 2022-01-13 13:50:07 -08: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
845ca1e396 Call RegisterStatusNotifierHost 2021-09-24 11:30:44 -07:00
Ian Douglas Scott
397c671da0 Disconnect signals on dispose 2021-09-24 10:32:06 -07:00
Ian Douglas Scott
58e3850766 Do not incorrectly/unnecssarily stop timer 2021-09-24 10:17:38 -07:00
Ian Douglas Scott
c4c5f1d618 Autohide notification when mouse not over 2021-09-24 09:40:03 -07:00
Ian Douglas Scott
42dc75ee80 Set width of notification 2021-09-23 18:34:08 -07:00
Ian Douglas Scott
9d10b0228f Fix button press handling on notification popover 2021-09-23 15:54:12 -07:00
Ian Douglas Scott
13aa62cef8 notifications: initial logic for sending action signal 2021-09-23 14:42:24 -07:00
Ian Douglas Scott
94def67e85 Start config parsing code 2021-09-16 14:50:50 -07:00
Ian Douglas Scott
ec6a0ff366 Close notification popover on "notification-closed" 2021-09-14 12:34:45 -07:00
Ian Douglas Scott
e9055e74d9 Formatting of close button 2021-09-14 12:23:22 -07:00
Ian Douglas Scott
a82c0a5577 Add button to close notification 2021-09-13 13:48:17 -07:00
Ian Douglas Scott
e0d1224173 Initial code for activating notification row 2021-09-09 14:29:06 -07:00
Ian Douglas Scott
db70daa238 Initial code for listing notifications 2021-09-09 13:05:24 -07:00
Ian Douglas Scott
14dc25985a Emit dbus signal when notification closed 2021-09-09 11:55:14 -07:00
Ian Douglas Scott
cc9961c634 Show notification summary 2021-09-09 08:47:35 -07:00
Ian Douglas Scott
efcb3c5aec Close notification on click 2021-09-09 08:27:04 -07:00
Ian Douglas Scott
cc8da887e6 WIP show notification 2021-09-09 07:38:18 -07:00
Ian Douglas Scott
17df83e611 Store notifications 2021-09-08 15:18:13 -07:00
Ian Douglas Scott
2396ebbaa9 Signals 2021-09-08 12:09:41 -07:00
Ian Douglas Scott
e62824a4fc WIP send signal on notify 2021-09-08 09:10:40 -07:00