From 42e423470c9c865603ba0930e0d67086432b130a Mon Sep 17 00:00:00 2001 From: justusbunsi Date: Wed, 29 Sep 2021 03:29:48 +0800 Subject: [PATCH] Fix notification example (#416) Co-authored-by: justusbunsi <61625851+justusbunsi@users.noreply.github.com> Reviewed-on: https://gitea.com/gitea/tea/pulls/416 Reviewed-by: Norwin Reviewed-by: techknowlogick Co-authored-by: justusbunsi Co-committed-by: justusbunsi --- README.md | 2 +- main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d5e4c8b..87e9bd9 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ tea open milestones # open web ui for milestones # send gitea desktop notifications every 5 minutes (bash + libnotify) - while :; do tea notifications --all -o simple | xargs -i notify-send {}; sleep 300; done + while :; do tea notifications --mine -o simple | xargs -i notify-send {}; sleep 300; done ABOUT Written & maintained by The Gitea Authors. diff --git a/main.go b/main.go index cdead95..cd68456 100644 --- a/main.go +++ b/main.go @@ -108,7 +108,7 @@ var helpTemplate = bold(` tea open milestones # open web ui for milestones # send gitea desktop notifications every 5 minutes (bash + libnotify) - while :; do tea notifications --all -o simple | xargs -i notify-send {}; sleep 300; done + while :; do tea notifications --mine -o simple | xargs -i notify-send {}; sleep 300; done ABOUT Written & maintained by The Gitea Authors.