Commit graph

93 commits

Author SHA1 Message Date
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
Ian Douglas Scott
069e1a24f9 Make Notifications a GObject
So it can emit signals.
2021-09-07 18:33:11 -07:00
Ian Douglas Scott
7430b965e1 Pass app to PanelWindow::new() 2021-09-07 12:56:25 -07:00
Ian Douglas Scott
4e5479cdd8 Use GtkApplication 2021-09-07 12:46:18 -07:00
Ian Douglas Scott
f3828f8239 WIP NotificationPopover 2021-09-03 12:21:12 -07:00
Ian Douglas Scott
3f9fd84737 Bold buttons 2021-09-03 10:57:34 -07:00
Ian Douglas Scott
d1493a5a1f Use custom PopoverContainer instead of gtk4::MenuButton 2021-09-03 10:45:34 -07:00
Ian Douglas Scott
4126950836 Struct for notification hints 2021-09-02 15:28:41 -07:00
Ian Douglas Scott
9e8ce5f8d9 Split next_id() logic into function 2021-09-02 14:37:32 -07:00
Ian Douglas Scott
cf94792f12 Initial code for supporting notifications
DBus daemon code; needs testing, and connection to UI.
2021-09-01 15:38:14 -07:00
Ian Douglas Scott
4c070c4d41 Fix dbus return value 2021-09-01 14:21:22 -07:00
Ian Douglas Scott
fb16fdd264 Fix StatusNotiferWatcher behavior 2021-09-01 13:29:33 -07:00