forked from mirrors/ntfy
Merge branch 'main' of github.com:binwiederhier/ntfy into main
This commit is contained in:
commit
56ffa551f3
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue