yasb
yasb copied to clipboard
[FEATURE] tauri-port: Add System Tray widget
What is the request?
A widget which enables the user to view and interact with system tray icons from within a configured yasb status bar.

Why is it useful?
Allows system tray applications to be managed via yasb, instead of relying on the windows built-in taskbar.
How could it be implemented?
See examples for enumerating system tray icons via win32 api:
- https://www.codeproject.com/Articles/10807/Shell-Tray-Info-Arrange-your-system-tray-icons
- https://social.msdn.microsoft.com/Forums/vstudio/en-US/dd2b6360-0077-4b69-8126-fb6d52b7eb20/get-all-tray-icons-in-taskbar-and-display-them-in-wpf?forum=wpf
Icon information could be polled on a frequent basis e.g. 1000ms and sent to a vue widget which renders icons and handles onclick events. HICON images could be converted to base64 to allow for displaying in the frontend.
See also https://github.com/denBot/yasb/issues/27