diff options
Diffstat (limited to '.local/bin/conky/net.sh')
-rwxr-xr-x | .local/bin/conky/net.sh | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/.local/bin/conky/net.sh b/.local/bin/conky/net.sh index 9739b1c..22f16f7 100755 --- a/.local/bin/conky/net.sh +++ b/.local/bin/conky/net.sh @@ -22,19 +22,19 @@ elif grep up "/sys/class/net/$if_alt/operstate" >/dev/null 2>&1 && ! [ -z $(ifco if_main=$if_alt else echo '${font1}NET ${hr}${font} -${color #928374}No network${font}' +${color1}No network${font}' exit fi echo '${font1}NET ${hr 2}${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}--------- -${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}' +${color1}Interface: ${font2}${color0}'$if_main'${font} +${color1}--------- +${color1}LAN IP: ${font2}${color0}${addr '$if_main'}${font} +${color1}DNS IP: ${font2}${color0}${nameserver 0}${font} +${color1}WAN IP: ${color0}${font2}${execi 300 curl -s https://ifconfig.me || echo No WAN}${font} +${color1}--------- +${color1}D: ${color0}${font2}${downspeed '$if_main'}${font}${goto 125}${color1}Total D: ${color0}${font2}${totaldown '$if_main'}${font} +${color1}U: ${color0}${font2}${upspeed '$if_main'}${goto 125}${font}${color1}Total U: ${color0}${font2}${totalup '$if_main'}${font}' -# ${color #928374}VPN IP: ${font2}${color #ebdbb2}${addr proton0}${font} +# ${color1}VPN IP: ${font2}${color0}${addr proton0}${font} |