diff options
author | Joe <bousset.rudy@gmail.com> | 2023-02-06 20:00:49 +0100 |
---|---|---|
committer | Joe <bousset.rudy@gmail.com> | 2023-02-06 20:00:49 +0100 |
commit | b4439017e5543fd3cf3d0ee8c6bc0159d4fb74a8 (patch) | |
tree | e6b1249a870e5b118694e1c71f0f3bdc56f37b66 /.local/bin/conky/net.sh | |
parent | up (diff) | |
download | dotfiles-bsd-b4439017e5543fd3cf3d0ee8c6bc0159d4fb74a8.tar.gz dotfiles-bsd-b4439017e5543fd3cf3d0ee8c6bc0159d4fb74a8.tar.bz2 dotfiles-bsd-b4439017e5543fd3cf3d0ee8c6bc0159d4fb74a8.tar.xz dotfiles-bsd-b4439017e5543fd3cf3d0ee8c6bc0159d4fb74a8.tar.zst dotfiles-bsd-b4439017e5543fd3cf3d0ee8c6bc0159d4fb74a8.zip |
up
Diffstat (limited to '')
-rwxr-xr-x | .local/bin/conky/net.sh | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/.local/bin/conky/net.sh b/.local/bin/conky/net.sh index 09e4fb6..0a1bbee 100755 --- a/.local/bin/conky/net.sh +++ b/.local/bin/conky/net.sh @@ -26,14 +26,15 @@ else exit fi -echo '${color #928374}Interface: ${font1}${color #ebdbb2}'$if_main'${font} +echo '${font1}NETWORK ${hr}${font} +${color #928374}Interface: ${font2}${color #ebdbb2}'$if_main'${font} ${color #928374}--------- -${color #928374}LAN IP: ${font1}${color #ebdbb2}${addr '$if_main'}${font} -${color #928374}DNS IP: ${font1}${color #ebdbb2}${nameserver 0}${font} -${color #928374}WAN IP: ${color #ebdbb2}${font1}${execi 300 curl -s https://ifconfig.me || echo No WAN}${font} +${color #928374}LAN IP: ${font2}${color #ebdbb2}${addr '$if_main'}${font} +${color #928374}DNS IP: ${font2}${color #ebdbb2}${nameserver 0}${font} +${color #928374}WAN IP: ${color #ebdbb2}${font2}${execi 300 curl -s https://ifconfig.me || echo No WAN}${font} ${color #928374}--------- -${color #928374}Speed: ${font1}down: ${color #ebdbb2}${font1}${downspeed '$if_main'} ${color #928374}- up: ${color #ebdbb2}${font1}${upspeed '$if_main'}${font} +${color #928374}Speed: ${font2}down: ${color #ebdbb2}${font2}${downspeed '$if_main'} ${color #928374}- up: ${color #ebdbb2}${font2}${upspeed '$if_main'}${font} ${color #928374}Down: ${color #ebdbb2}${downspeedgraph '$if_main' bfbfbf c0c0c0 125829120} ${color #928374}Up: ${color #ebdbb2}${upspeedgraph '$if_main' bfbfbf c0c0c0 125829120}' -# ${color #928374}VPN IP: ${font1}${color #ebdbb2}${addr proton0}${font} +# ${color #928374}VPN IP: ${font2}${color #ebdbb2}${addr proton0}${font} |