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 <noerw@noreply.gitea.io>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: justusbunsi <justusbunsi@noreply.gitea.io>
Co-committed-by: justusbunsi <justusbunsi@noreply.gitea.io>
This commit is contained in:
justusbunsi 2021-09-29 03:29:48 +08:00 committed by techknowlogick
parent 555f1ae516
commit 42e423470c
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@
tea open milestones # open web ui for milestones tea open milestones # open web ui for milestones
# send gitea desktop notifications every 5 minutes (bash + libnotify) # 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 ABOUT
Written & maintained by The Gitea Authors. Written & maintained by The Gitea Authors.

View File

@ -108,7 +108,7 @@ var helpTemplate = bold(`
tea open milestones # open web ui for milestones tea open milestones # open web ui for milestones
# send gitea desktop notifications every 5 minutes (bash + libnotify) # 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 ABOUT
Written & maintained by The Gitea Authors. Written & maintained by The Gitea Authors.