diff options
-rw-r--r-- | .config/conkyrc | 2 | ||||
-rwxr-xr-x | .local/bin/conky/net.sh | 9 |
2 files changed, 4 insertions, 7 deletions
diff --git a/.config/conkyrc b/.config/conkyrc index 10498cf..8feac37 100644 --- a/.config/conkyrc +++ b/.config/conkyrc @@ -81,7 +81,7 @@ ${font1}${color grey}${top_mem name 2} ${alignr}${top_mem pid 2} ${top_mem cpu ${font1}${color white}${top_mem name 3} ${alignr}${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem_res 3} ${font1}${color grey}${top_mem name 4} ${alignr}${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem_res 4}${font} ${color grey}--------- -${color grey}Processes: ${color white}${processes} +${color grey}Processes: ${font1}${color white}${processes}${font} ${hr} ${execp ~/.local/bin/conky/net.sh} ]] 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} |