//go:build linux package notify import "os/exec" // Notifier uses notify-send (libnotify) on Linux. type notifier struct{} // New returns a Linux notifier using notify-send. func New() Notifier { return notifier{} } func (notifier) Notify(title, body string) error { return exec.Command("notify-send", title, body).Run() }