diff options
author | Joe <rrbo@proton.me> | 2023-02-03 12:28:10 +0100 |
---|---|---|
committer | Joe <rrbo@proton.me> | 2023-02-03 12:28:10 +0100 |
commit | 4cde340623106f76f7c55d2ec837f8bb7d4e6dde (patch) | |
tree | cfbd3bea1953661146f727f94b41ebefb28084da /.local/bin/conky | |
parent | up (diff) | |
download | dotfiles-bsd-4cde340623106f76f7c55d2ec837f8bb7d4e6dde.tar.gz dotfiles-bsd-4cde340623106f76f7c55d2ec837f8bb7d4e6dde.tar.bz2 dotfiles-bsd-4cde340623106f76f7c55d2ec837f8bb7d4e6dde.tar.xz dotfiles-bsd-4cde340623106f76f7c55d2ec837f8bb7d4e6dde.tar.zst dotfiles-bsd-4cde340623106f76f7c55d2ec837f8bb7d4e6dde.zip |
up
Diffstat (limited to '')
-rwxr-xr-x | .local/bin/conky/net.sh | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/.local/bin/conky/net.sh b/.local/bin/conky/net.sh index 645104a..4700c35 100755 --- a/.local/bin/conky/net.sh +++ b/.local/bin/conky/net.sh @@ -43,16 +43,13 @@ fi echo '${color grey}Interface: ${font1}${color white}'$if_main'${font} ${color grey}--------- -${color grey}LAN IP: ${font1}${color white}${addr '$if_main'}${font} -${color grey}Public IP: ${color white}${font1}${execi 300 curl -s https://ifconfig.me || echo No Address}${font}${color grey} +${color grey}LAN IP: ${font1}${color white}${addr '$if_main'}${font} +${color grey}DNS IP: ${font1}${color white}${nameserver 0}${font} +${color grey}WAN IP: ${color white}${font1}${execi 300 curl -s https://ifconfig.me || echo No WAN}${font} ${hr} ${color grey}Speed: ${font1}down: ${color white}${font1}${downspeed '$if_main'} ${color grey}- up: ${color white}${font1}${upspeed '$if_main'}${font} ${color grey}Down: ${color white}${downspeedgraph '$if_main' bfbfbf c0c0c0 125829120} ${color grey}Up: ${color white}${upspeedgraph '$if_main' bfbfbf c0c0c0 125829120} -${hr} -${color grey}DNS: -${font1}${color white}${nameserver 0}${font} -${font1}${color white}${nameserver 1}${font} ${hr}' # ${color grey}VPN IP: ${font1}${color white}${addr proton0}${font} |