aboutsummaryrefslogtreecommitdiff
path: root/config/i3blocks
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2019-04-28 15:16:17 +0200
committerKarel Kočí <cynerd@email.cz>2019-04-28 15:16:17 +0200
commit17dbbe3c4c6d69ab5de80e8c753c62af321541e4 (patch)
treedeb399bd21181c340917898ed76795fe01ed23c8 /config/i3blocks
parent0d041a12b12f12f445bf46f4976de4ecef6bc4eb (diff)
downloadmyconfigs-17dbbe3c4c6d69ab5de80e8c753c62af321541e4.tar.gz
myconfigs-17dbbe3c4c6d69ab5de80e8c753c62af321541e4.tar.bz2
myconfigs-17dbbe3c4c6d69ab5de80e8c753c62af321541e4.zip
i3blocks: change ping target of iface to my server
Diffstat (limited to 'config/i3blocks')
-rwxr-xr-xconfig/i3blocks/scripts/iface4
1 files changed, 2 insertions, 2 deletions
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