Documentation
¶
Overview ¶
Package tray provides system tray support for BubbleFish Nexus.
On Windows, a system tray icon is displayed with menu items for status, opening the web dashboard, and stopping the daemon.
On headless Linux ($DISPLAY is empty), the tray is gracefully skipped with an INFO log — it is NOT an error.
Reference: Tech Spec Section 2.1 — headless skip, Section 13.1 — start.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QuitCh ¶
func QuitCh() <-chan struct{}
QuitCh returns a channel that is closed when Quit() is called.
func Run ¶
func Run(cfg Config)
Run on non-Windows platforms checks for a display server. If $DISPLAY is empty (headless Linux), the tray is gracefully skipped with an INFO log — this is NOT an error.
On macOS with a display, the tray logs availability and blocks until quit.
Reference: Tech Spec Section 2.1 — "Headless Linux: tray gracefully skipped when $DISPLAY is empty (log INFO, not error)."