summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-x.scripts/newsup1
1 files changed, 1 insertions, 0 deletions
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"