aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2017-04-12 12:27:36 +0200
committerDimitri Sokolyuk <demon@dim13.org>2017-04-12 12:27:36 +0200
commit3faa37e120a3f06e6fed4fce34f3031903629470 (patch)
tree1eb286864ba43aaff8e950f7d58a182cc5457ec1
parent95ade5c0b9571fc9cbba56a4988fcd94f0096af8 (diff)
Display time in notifier
-rw-r--r--main.go1
1 files changed, 1 insertions, 0 deletions
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)