aboutsummaryrefslogtreecommitdiffstats
path: root/notifier.go
diff options
context:
space:
mode:
Diffstat (limited to 'notifier.go')
-rw-r--r--notifier.go11
1 files changed, 8 insertions, 3 deletions
diff --git a/notifier.go b/notifier.go
index 35f3e0e..daf077d 100644
--- a/notifier.go
+++ b/notifier.go
@@ -8,9 +8,14 @@ type Notification struct {
Title string
Message string
ImagePath string
- BundleID string // For darwin
- Actions []string // For darwin
- ToastPath string // For windows (Toaster)
+
+ // For darwin
+ Actions []string
+ Timeout float64
+ BundleID string
+
+ // For windows
+ ToastPath string // Path to toast.exe
}
// Notifier knows how to deliver a notification