pub / pp-notifier

Instant Messenger Notification daemon for the PinePhone
git clone https://src.jayvii.de/pub/pp-notifier.git
Home | Log | Files | Exports | Refs | README | RSS

commit 4b6654468466d131a9aa80a5ca5202add01ae672
parent 694949dac751401080320abf24fe0b86a9bfb398
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Sat, 28 Aug 2021 16:08:12 +0200

Disable double negation

Diffstat:
Mim-notifier.sh | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/im-notifier.sh b/im-notifier.sh @@ -1,22 +1,22 @@ #!/usr/bin/env bash # Set timings -if [[ ! -z $POLLTIME ]]; then +if [[ -z $POLLTIME ]]; then POLLTIME=30 fi -if [[ ! -z $TIMEOUT ]]; then +if [[ -z $TIMEOUT ]]; then TIMEOUT=25 fi # Telegram Settings -if [[ ! -z $TELEGRAM ]] && [[ ! -z $(command -v telegram-cli) ]]; then +if [[ -z $TELEGRAM ]] && [[ -z $(command -v telegram-cli) ]]; then TELEGRAM=1 echo "Enabling Telegram!" fi -if [[ ! -z $TG_ICON ]]; then +if [[ -z $TG_ICON ]]; then TG_ICON="document-send" fi -if [[ ! -z $TG_ACTION ]]; then +if [[ -z $TG_ACTION ]]; then TG_ACTION="telegram-desktop" fi TG_NOTIFICATION_ID=0