Skip to content
Snippets Groups Projects
Commit 8f2b69bb authored by nimrod's avatar nimrod
Browse files

Replace Patchbay with notify.shore.co.il.

parent 6269351c
Branches
No related tags found
No related merge requests found
...@@ -14,9 +14,9 @@ notify_send () { ...@@ -14,9 +14,9 @@ notify_send () {
$(command -v notify-send) "$@" "$message" $(command -v notify-send) "$@" "$message"
} }
patchbay () { nextcloud () {
message="$(cat)" message="$(cat)"
curl -d "$message" https://patchbay.pub/pubsub/1446c969-9a54-4b5b-83e0-bf88f22f289d curl -d "$message" https://notify.shore.co.il/send
} }
# Try hostname if present. # Try hostname if present.
...@@ -35,13 +35,13 @@ fi ...@@ -35,13 +35,13 @@ fi
#FIXME: Remove domain, just hostname. #FIXME: Remove domain, just hostname.
case "$hostname" in case "$hostname" in
ea6350) patchbay;; ea6350) nextcloud;;
ElementaryOS) patchbay;; ElementaryOS) nextcloud;;
host01) patchbay;; host01) nextcloud;;
kodi) patchbay;; kodi) nextcloud;;
ns1) patchbay;; ns1) nextcloud;;
ns4) patchbay;; ns4) nextcloud;;
workbench) patchbay;; workbench) nextcloud;;
YOGA-C930) notify_send "$@";; YOGA-C930) notify_send "$@";;
*) ;; *) ;;
esac esac
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment