From f29f68fb333c1afcbdba820134ee29eadb4e56b7 Mon Sep 17 00:00:00 2001 From: Juraj Bednar Date: Sun, 9 Jun 2024 23:52:10 +0200 Subject: [PATCH] add simplex-chat support --- signal-monitoring.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/signal-monitoring.sh b/signal-monitoring.sh index 2e0fa7b..ba3ba6b 100755 --- a/signal-monitoring.sh +++ b/signal-monitoring.sh @@ -20,6 +20,10 @@ LXMF_NAME="LXMF bot signal-monitoring" # propagation node (optional) LXMF_PROPAGATION="32112312312312312312312312312312" +### For simplex-chat command-line utility +# Nickname of already connected user (use /c) +SIMPLEX_DESTINATION="nickname" + # now go to the notify function below, choose which notification mechanism # to use. @@ -45,6 +49,8 @@ function notify { #matrix-commander --log-level ERROR ERROR -m "$1" # LXMF / Reticulum / Sideband #echo "$1" | LXMF-NotifyBot.py "${LXMF_DESTINATION}" "${LXMF_NAME}" "${LXMF_PROPAGATION}" > /dev/null + # SimpleX + #simplex-chat -e "@${SIMPLEX_DESTINATION} ${1}" log "Sending notification ${1}" }