package infra import ( "fmt" "os/exec" ) // NotifyDesktop sends a desktop notification on Linux via the `notify-send` // binary (libnotify). It is impure: it shells out to an external program. // // Degradation is intentional and silent: if `notify-send` is not on the PATH, // the function returns nil without error. A machine without a notification // server is not a failure condition for the caller — the notification is simply // skipped. Only a real execution failure of an existing `notify-send` is // returned (wrapped with context). // // When `notify-send` is present it runs: // // notify-send --app-name=fleetview --urgency=normal --