diff options
author | Joe <rrbo@proton.me> | 2023-02-22 09:51:43 +0100 |
---|---|---|
committer | Joe <rrbo@proton.me> | 2023-02-22 09:51:43 +0100 |
commit | 989535ea0fce5dfc71bce22578d800f653ed7057 (patch) | |
tree | f2ec12095b04328e6e5f296dd5b3d54fcd073da6 | |
parent | up (diff) | |
download | dotfiles-bsd-989535ea0fce5dfc71bce22578d800f653ed7057.tar.gz dotfiles-bsd-989535ea0fce5dfc71bce22578d800f653ed7057.tar.bz2 dotfiles-bsd-989535ea0fce5dfc71bce22578d800f653ed7057.tar.xz dotfiles-bsd-989535ea0fce5dfc71bce22578d800f653ed7057.tar.zst dotfiles-bsd-989535ea0fce5dfc71bce22578d800f653ed7057.zip |
up
Diffstat (limited to '')
-rwxr-xr-x | .local/bin/conky/net.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/.local/bin/conky/net.sh b/.local/bin/conky/net.sh index 2e3f6a3..d3e1b3d 100755 --- a/.local/bin/conky/net.sh +++ b/.local/bin/conky/net.sh @@ -27,11 +27,13 @@ ${color #928374}No network${font}' fi echo '${font1}NET ${hr 2}${font} -${color #928374}Interface: ${font2}${color #ebdbb2}'$if_main'${font}${goto 175}${color #928374}${font}D: ${color #ebdbb2}${font2}${downspeed '$if_main'}${alignr}${color #928374}${font}Total: ${color #ebdbb2}${font2}${totaldown '$if_main'}${font} -${color #928374}---------${goto 175}${color #928374}${font}U: ${color #ebdbb2}${font2}${upspeed '$if_main'}${font}${alignr}${color #928374}${font}Total: ${color #ebdbb2}${font2}${totalup '$if_main'}${font} +${color #928374}Interface: ${font2}${color #ebdbb2}'$if_main'${font} +${color #928374}--------- ${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}WAN IP: ${color #ebdbb2}${font2}${execi 300 curl -s https://ifconfig.me || echo No WAN}${font} +${color #928374}D: ${color #ebdbb2}${font2}${downspeed '$if_main'}${font}${goto 125}${color #928374}Total D: ${color #ebdbb2}${font2}${totaldown '$if_main'}${font} +${color #928374}U: ${color #ebdbb2}${font2}${upspeed '$if_main'}${goto 125}${font}${color #928374}Total U: ${color #ebdbb2}${font2}${totalup '$if_main'}${font}' # ${color #928374}VPN IP: ${font2}${color #ebdbb2}${addr proton0}${font} |