From 8f2b69bba06241b83430fb9b2b6ab301a8f76453 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Fri, 23 Apr 2021 22:36:29 +0300
Subject: [PATCH] Replace Patchbay with notify.shore.co.il.

---
 Documents/bin/notify | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/Documents/bin/notify b/Documents/bin/notify
index e8defd4..7e15523 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
-- 
GitLab