From 1dd555c3f4ff3a49e45c16c11c2461a3a82e96ff Mon Sep 17 00:00:00 2001 From: David Runge Date: Mon, 9 Jan 2017 15:56:56 +0100 Subject: .config/conky/trvlr-network.conf: Use unifying script instead of local call. --- .config/conky/trvlr-network.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/conky/trvlr-network.conf b/.config/conky/trvlr-network.conf index 24dbe68..8574d11 100644 --- a/.config/conky/trvlr-network.conf +++ b/.config/conky/trvlr-network.conf @@ -44,7 +44,7 @@ ${color5}Network:\ ${if_up wlp3s0} ${color3}wlp3s0: ${color1}${addr wlp3s0} ${color3}essid: ${color1}${wireless_essid wlp3s0} -${color3}ext: ${color1}${execpi 360 dig +short myip.opendns.com @resolver1.opendns.com} +${color3}ext: ${color1}${execpi 360 ~/bin/checkip} ${color3}gway: ${color1}${exec route -n | grep wlp3s0 | grep UG | awk '{print $2}'} ${color3}dns: ${color1}${nameserver 0} ${color3}speed: ${color1}${exec iwconfig wlp3s0 | grep "Bit Rate" | cut -d"=" -f2 | cut -d" " -f1} Mb/s @@ -57,7 +57,7 @@ ${color3}rate: ${color1}${downspeed wlp3s0} / ${upspeed wlp3s0}\ ${endif}\ ${if_up enp0s25} ${color3}enp0s25: ${color1}${addr enp0s25} -${color3}external: ${color1}${execpi 360 wget -qO- http://ipecho.net/plain} +${color3}external: ${color1}${execpi 360 ~/bin/checkip} ${color3}gateway: ${color1}${exec route -n | grep enp0s25 | grep UG |awk '{print $2}'} ${color3}dns: ${color1}${nameserver 0} ${color3}rate: ${color1}${downspeed enp0s25} / ${upspeed enp0s25}\ -- cgit v1.2.3-70-g09d2