Make things prettier, better sound, FAQ, icon in desktop notification
This commit is contained in:
parent
accd36991e
commit
1321bf19dc
8 changed files with 82 additions and 29 deletions
7
examples/example_desktop_notifications.sh
Normal file
7
examples/example_desktop_notifications.sh
Normal file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
# This is an example shell script showing how to consume a ntfy.sh topic using
|
||||
# a simple script. The notify-send command sends any arriving message as a desktop notification.
|
||||
|
||||
while read msg; do
|
||||
notify-send "$msg"
|
||||
done < <(stdbuf -i0 -o0 curl -s ntfy.sh/mytopic/raw)
|
Loading…
Add table
Add a link
Reference in a new issue