Expand description
Integrates StatusNotifier tray functionality and provides GTK-facing control signals.
Uses the ksni crate to register a system tray icon with menu entries
for Settings, Library, Pause/Resume, Sync Now, and Quit. Each action
sends a signal over a tokio::sync::watch channel that the GTK main
loop polls to trigger the corresponding window or operation.
Structs§
- Mimick
Tray - Represents the tray state shared with ksni menu callbacks and GTK main loop.
- Tray
Handles - Channels and handles returned by tray initialization to manage signals.
Functions§
- build_
tray - Asynchronously construct and spawn the system tray icon, returning control channels.