diff --git a/Documents/bin/notify b/Documents/bin/notify index e8defd4586d61a0b1fe1246f5a834f47b7c69dd6..7e15523eaff43bad15539e8d0d26807d067c43ca 100755 --- a/Documents/bin/notify +++ b/Documents/bin/notify @@ -14,9 +14,9 @@ notify_send () { $(command -v notify-send) "$@" "$message" } -patchbay () { +nextcloud () { 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. @@ -35,13 +35,13 @@ fi #FIXME: Remove domain, just hostname. case "$hostname" in - ea6350) patchbay;; - ElementaryOS) patchbay;; - host01) patchbay;; - kodi) patchbay;; - ns1) patchbay;; - ns4) patchbay;; - workbench) patchbay;; + ea6350) nextcloud;; + ElementaryOS) nextcloud;; + host01) nextcloud;; + kodi) nextcloud;; + ns1) nextcloud;; + ns4) nextcloud;; + workbench) nextcloud;; YOGA-C930) notify_send "$@";; *) ;; esac