From 0e77da6eab1080bb6b702b9f45465a20d2b6f4da Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Thu, 29 Nov 2018 17:04:18 +0000 Subject: [PATCH] Disowns notification in block --- i3/blocks/serverStatus | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i3/blocks/serverStatus b/i3/blocks/serverStatus index 7cb382d4..815de22c 100755 --- a/i3/blocks/serverStatus +++ b/i3/blocks/serverStatus @@ -25,7 +25,7 @@ checkRandomSite(){ checkURL(){ responce=$(curl -s --head -w %{http_code} $1 -L -o /dev/null --connect-timeout 10) if [ "$responce" != 200 ]; then - pgrep -x dunst && notify-send -u critical "$1 is down" "Server: $2\nResponce: $responce" + pgrep -x dunst && notify-send -u critical "$1 is down" "Server: $2\nResponce: $responce" & disown fi echo $responce }