feat: add system tray (StatusNotifierWatcher / SNI)
Some checks failed
release / build (push) Failing after 3s

Implements org.kde.StatusNotifierWatcher as a D-Bus service so apps
like Nextcloud can register their tray icons. Icons are rendered from
SNI ARGB pixmaps (falling back to icon-name theme lookup), click calls
Activate(0,0), and NameOwnerChanged cleans up ghost icons when an app
exits. Styling follows the Bread Design System (4px tertiary radius,
xs/sm spacing, opacity transitions).

Also fixes a latent infinite-loop risk in osd.rs (.flatten → .map_while)
and syncs the notifications server version string to CARGO_PKG_VERSION.
This commit is contained in:
Breadway 2026-06-11 22:31:25 +08:00
parent a036737823
commit 44a8d95887
8 changed files with 277 additions and 7 deletions

2
Cargo.lock generated
View file

@ -89,7 +89,7 @@ dependencies = [
[[package]]
name = "breadbar"
version = "0.1.1"
version = "0.1.2"
dependencies = [
"bread-theme",
"futures-lite",