diff options
author | David Runge <dave@sleepmap.de> | 2017-01-09 15:56:56 +0100 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2017-01-09 15:56:56 +0100 |
commit | 1dd555c3f4ff3a49e45c16c11c2461a3a82e96ff (patch) | |
tree | 225bf898964072bd6db24bdd52a5023513ed27ae /.config/conky | |
parent | 8b03f92875932b0ab1524e78632c1603d1800c3e (diff) | |
download | dotfiles-1dd555c3f4ff3a49e45c16c11c2461a3a82e96ff.tar.gz dotfiles-1dd555c3f4ff3a49e45c16c11c2461a3a82e96ff.tar.bz2 dotfiles-1dd555c3f4ff3a49e45c16c11c2461a3a82e96ff.tar.xz dotfiles-1dd555c3f4ff3a49e45c16c11c2461a3a82e96ff.zip |
.config/conky/trvlr-network.conf: Use unifying script instead of local call.
Diffstat (limited to '.config/conky')
-rw-r--r-- | .config/conky/trvlr-network.conf | 4 |
1 files 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}\ |