From 3faa37e120a3f06e6fed4fce34f3031903629470 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Wed, 12 Apr 2017 12:27:36 +0200 Subject: Display time in notifier --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index 156d261..ea03241 100644 --- a/main.go +++ b/main.go @@ -100,6 +100,7 @@ func progress(total, left time.Duration) string { } func notify(title, s string) error { + s = time.Now().Format(time.Kitchen) + " " + s switch runtime.GOOS { case "darwin": msg := fmt.Sprintf("display notification %q with title %q", s, title) -- cgit v1.2.3