diff --git a/.bashrc b/.bashrc index db094714a0d59a1c4c7cf604bddc10c5f061ddeb..923cf659edfedff514299b4f97f02b2a8c325389 100644 --- a/.bashrc +++ b/.bashrc @@ -339,9 +339,9 @@ __command_notifier () { then if [ "$exitstatus" -eq '0' ] then - echo "$last_command has finished." | notify + echo "$last_command has finished." | notify & else - echo "$last_command has failed." | notify --urgency=critical + echo "$last_command has failed." | notify --urgency=critical & fi fi fi diff --git a/Documents/bin/notify b/Documents/bin/notify index 0a9bc6d2744ef85c7f9ca5f60435f5781b1fcbd0..c5551b2ebfcb0e759278f9d7b11b54b0649e8b38 100755 --- a/Documents/bin/notify +++ b/Documents/bin/notify @@ -16,7 +16,7 @@ notify_send () { nextcloud () { message="$(cat)" - curl -d "$message" https://notify.shore.co.il/send + curl --silent -d "$message" https://notify.shore.co.il/send > /dev/null } # Try hostname if present.