From 43c1999d23569e767298dfe69d2d0ca8615b2bf1 Mon Sep 17 00:00:00 2001 From: David Runge Date: Thu, 8 Mar 2018 21:51:18 +0100 Subject: .config/conky/dvzrv-network.conf: Updating external IP check command. Updating VPN check. --- .config/conky/dvzrv-network.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '.config/conky') diff --git a/.config/conky/dvzrv-network.conf b/.config/conky/dvzrv-network.conf index 2ca1e59..6ff64c1 100644 --- a/.config/conky/dvzrv-network.conf +++ b/.config/conky/dvzrv-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}\ @@ -65,8 +65,8 @@ ${color3}rate: ${color1}${downspeed enp0s25} / ${upspeed enp0s25}\ ${endif}\ ${color5}OpenVPN: -${color3}sleepmap: ${color1}${execpi 30 systemctl is-active openvpn@sleepmap} -${color3}secure: ${color1}${execpi 30 systemctl is-active openvpn@secure} +${color3}sleepmap: ${color1}${execpi 30 systemctl is-active openvpn-client@sleepmap} +${color3}secure: ${color1}${execpi 30 systemctl is-active openvpn-client@secure} ${color5}Connections: ${execpi 5 lsof -ni| grep ESTABLISHED| grep -v 127.0.0.1| awk '{print "${color3}"$1,"${color1}"$9;}' } -- cgit v1.2.3-54-g00ecf