Commit graph

121 commits

Author SHA1 Message Date
Lucy
29f0bbf0f6
Mode selection widget, base async zbus code 2022-02-15 17:02:01 -05:00
Lucy
f4b895d61d
Base work on graphics api 2022-02-15 10:59:57 -05:00
Lucy
b8d17f2b2f
Add profile configuration functions 2022-02-15 10:42:49 -05:00
Lucy
e03225384b
Start work on graphics applet 2022-02-14 15:41:47 -05:00
Lucy
fc8e6e4d4d
Update active networks without needing to poll every 5 seconds 2022-02-10 14:25:25 -05:00
Lucy
9b60cc758b
clean up unused imports 2022-02-10 14:17:20 -05:00
Lucy
666e715667
WireGuard device support 2022-02-10 13:03:26 -05:00
Lucy
b529f80034
VPN connection support 2022-02-10 12:33:18 -05:00
Lucy
0a9ae77c5b
Adjust some more styling stuff. 2022-02-09 17:42:55 -05:00
Lucy
770dffa729
Use ListBoxes for the available and current networks 2022-02-09 17:23:36 -05:00
Lucy
8ef033f39e
Show all IPs 2022-02-09 13:22:43 -05:00
Lucy
4c4f1300e4
Show IP address for current wired 2022-02-08 14:11:15 -05:00
Lucy
d53171519a
Update cosmic-dbus-networkmanager 2022-02-08 14:00:56 -05:00
Lucy
833219d27a
No need to spawn another task, this is a spawned task anyways. 2022-02-07 16:25:55 -05:00
Lucy
94dc038e2b
WiFi will now change if something else changes it 2022-02-07 16:24:11 -05:00
Lucy
0d54744537
Working WiFi toggle! 2022-02-07 14:14:55 -05:00
Lucy
b9a471a5fb
Wired network thingy works now. 2022-02-07 12:51:16 -05:00
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