summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe <rrbo@proton.me>2023-02-03 12:28:10 +0100
committerJoe <rrbo@proton.me>2023-02-03 12:28:10 +0100
commit4cde340623106f76f7c55d2ec837f8bb7d4e6dde (patch)
treecfbd3bea1953661146f727f94b41ebefb28084da
parentup (diff)
downloaddotfiles-bsd-4cde340623106f76f7c55d2ec837f8bb7d4e6dde.tar.gz
dotfiles-bsd-4cde340623106f76f7c55d2ec837f8bb7d4e6dde.tar.bz2
dotfiles-bsd-4cde340623106f76f7c55d2ec837f8bb7d4e6dde.tar.xz
dotfiles-bsd-4cde340623106f76f7c55d2ec837f8bb7d4e6dde.tar.zst
dotfiles-bsd-4cde340623106f76f7c55d2ec837f8bb7d4e6dde.zip
up
-rw-r--r--.config/conkyrc2
-rwxr-xr-x.local/bin/conky/net.sh9
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}