diff options
author | Karel Kočí <cynerd@email.cz> | 2019-04-28 15:16:17 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2019-04-28 15:16:17 +0200 |
commit | 17dbbe3c4c6d69ab5de80e8c753c62af321541e4 (patch) | |
tree | deb399bd21181c340917898ed76795fe01ed23c8 /config/i3blocks/scripts/iface | |
parent | 0d041a12b12f12f445bf46f4976de4ecef6bc4eb (diff) | |
download | myconfigs-17dbbe3c4c6d69ab5de80e8c753c62af321541e4.tar.gz myconfigs-17dbbe3c4c6d69ab5de80e8c753c62af321541e4.tar.bz2 myconfigs-17dbbe3c4c6d69ab5de80e8c753c62af321541e4.zip |
i3blocks: change ping target of iface to my server
Diffstat (limited to 'config/i3blocks/scripts/iface')
-rwxr-xr-x | config/i3blocks/scripts/iface | 4 |
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 |