diff options
author | David Runge <dave@sleepmap.de> | 2018-03-08 21:51:18 +0100 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2018-03-08 21:51:18 +0100 |
commit | 43c1999d23569e767298dfe69d2d0ca8615b2bf1 (patch) | |
tree | 566addff470063d980045c4bfe8949791bc5cbe1 /.config/conky | |
parent | 984de6a383ac04a2018510cd1a51ac41dee03fa8 (diff) | |
download | dotfiles-43c1999d23569e767298dfe69d2d0ca8615b2bf1.tar.gz dotfiles-43c1999d23569e767298dfe69d2d0ca8615b2bf1.tar.bz2 dotfiles-43c1999d23569e767298dfe69d2d0ca8615b2bf1.tar.xz dotfiles-43c1999d23569e767298dfe69d2d0ca8615b2bf1.zip |
.config/conky/dvzrv-network.conf: Updating external IP check command. Updating VPN check.
Diffstat (limited to '.config/conky')
-rw-r--r-- | .config/conky/dvzrv-network.conf | 8 |
1 files changed, 4 insertions, 4 deletions
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;}' } |