From 17dbbe3c4c6d69ab5de80e8c753c62af321541e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 28 Apr 2019 15:16:17 +0200 Subject: i3blocks: change ping target of iface to my server --- config/i3blocks/scripts/iface | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config/i3blocks/scripts/iface') diff --git a/config/i3blocks/scripts/iface b/config/i3blocks/scripts/iface index dc82438..d8d3ad0 100755 --- a/config/i3blocks/scripts/iface +++ b/config/i3blocks/scripts/iface @@ -62,11 +62,11 @@ echo "$IPADDR" # short text # We ping only once and wait for one second PINGV="-c 1 -w 1" # Ping nic.cz -if ping $PINGV nic.cz >/dev/null 2>&1; then +if ping $PINGV cynerd.cz >/dev/null 2>&1; then echo \#00FF00 # color else # Ping nic.cz by ip - if ping $PINGV 217.31.205.50 >/dev/null 2>&1; then + if ping $PINGV 77.93.223.198 >/dev/null 2>&1; then # No DNS echo \#FFFF00 # color else -- cgit v1.2.3