Skip to main content

Module Tray

Module Tray 

Source
Expand description

System tray commands.

Exports the SwitchTrayIcon() Tauri command for switching the system tray icon based on the active theme (light or dark mode).

§Tray Commands (Binary/Main)

§RESPONSIBILITIES

System tray commands are now in the atomic modules in Binary/Tray/.

§ARCHITECTURAL ROLE

The tray module provides system tray integration for the Mountain application.

§KEY COMPONENTS

  • SwitchTrayIcon: Platform-agnostic system tray icon switching (Binary/Tray/SwitchTrayIcon)

§ERROR HANDLING

All commands return appropriate Result types for consistency.

§LOGGING

Debug-level logging for tray operations.

§PERFORMANCE CONSIDERATIONS

Minimal resource overhead.

§TODO

  • Add tray menu customization