1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2024-11-29 22:45:48 +01:00

Merge branch 'main' of github.com:binwiederhier/ntfy into main

This commit is contained in:
Philipp Heckel 2021-11-03 11:33:47 -04:00
commit 56ffa551f3

View file

@ -3,5 +3,5 @@
# a simple script. The notify-send command sends any arriving message as a desktop notification. # a simple script. The notify-send command sends any arriving message as a desktop notification.
while read msg; do while read msg; do
notify-send "$msg" [ -n "$msg" ] && notify-send "$msg"
done < <(stdbuf -i0 -o0 curl -s ntfy.sh/mytopic/raw) done < <(stdbuf -i0 -o0 curl -s ntfy.sh/mytopic/raw)