Skip to content

Commit

Permalink
Merge branch 'main' of github.com:binwiederhier/ntfy into main
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp Heckel committed Nov 3, 2021
2 parents 30a1ffa + 17839e6 commit 56ffa55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/example_desktop_notifications.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
# a simple script. The notify-send command sends any arriving message as a desktop notification.

while read msg; do
notify-send "$msg"
[ -n "$msg" ] && notify-send "$msg"
done < <(stdbuf -i0 -o0 curl -s ntfy.sh/mytopic/raw)

0 comments on commit 56ffa55

Please sign in to comment.