From 39375e5f8f74f5ff62997bc65a3223bdbde0c1ea Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sun, 14 Oct 2018 13:05:07 -0400 Subject: [PATCH] net check in newsup --- .scripts/newsup | 1 + 1 file changed, 1 insertion(+) diff --git a/.scripts/newsup b/.scripts/newsup index 986524a..ab4116e 100755 --- a/.scripts/newsup +++ b/.scripts/newsup @@ -1,5 +1,6 @@ #!/bin/sh +ping -q -t 1 -c 1 `ip r | grep -m 1 default | cut -d ' ' -f 3` >/dev/null || exit echo "📰 🔃" > ~/.newsup pkill -RTMIN+6 i3blocks printf "Loading new RSS entries for newsboat...\\n"