aboutsummaryrefslogtreecommitdiff
path: root/config/i3blocks/scripts
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2017-07-21 10:45:36 +0200
committerKarel Kočí <karel.koci@nic.cz>2017-07-21 10:45:36 +0200
commit5c2984a2f2c9cd19d92a5e083e692ba2a5aa37fa (patch)
tree276a2217a7b37ed932a92ea49acc1e1b258de518 /config/i3blocks/scripts
parent943bb7eb6103ca53b680670ca0753263f8998a22 (diff)
downloadmyconfigs-5c2984a2f2c9cd19d92a5e083e692ba2a5aa37fa.tar.gz
myconfigs-5c2984a2f2c9cd19d92a5e083e692ba2a5aa37fa.tar.bz2
myconfigs-5c2984a2f2c9cd19d92a5e083e692ba2a5aa37fa.zip
Change color for accessible gateway to orange
Diffstat (limited to 'config/i3blocks/scripts')
-rwxr-xr-xconfig/i3blocks/scripts/iface2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/i3blocks/scripts/iface b/config/i3blocks/scripts/iface
index a9a558b..dc82438 100755
--- a/config/i3blocks/scripts/iface
+++ b/config/i3blocks/scripts/iface
@@ -73,7 +73,7 @@ else
# Ping default gateway of this interface
if ping $PINGV $(ip route show dev $IF | awk '/^default via/ {print $3}') >/dev/null 2>&1; then
# No internet connection but gateway accessible
- echo \#FF0F00 # color
+ echo \#FF9000 # color
else
# No internet connection
echo \#FF0000 # color