aboutsummaryrefslogtreecommitdiff
path: root/notification
diff options
context:
space:
mode:
Diffstat (limited to 'notification')
-rw-r--r--notification/notify_darwin.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/notification/notify_darwin.go b/notification/notify_darwin.go
index f7a2d89..1d9cbbc 100644
--- a/notification/notify_darwin.go
+++ b/notification/notify_darwin.go
@@ -35,7 +35,9 @@ func Send(title, text string, critical bool) error {
if TerminalNotifierAvailable {
args := []string{"-title", "gomuks", "-subtitle", title, "-message", text}
if critical {
- args = append(args, "-timeout", "30")
+ args = append(args, "-timeout", "15")
+ } else {
+ args = append(args, "-timeout", "4")
}
// if len(iconPath) > 0 {
// args = append(args, "-appIcon", iconPath)