From a0c3e128119e3fcb2afa49094ebd98e0c819db57 Mon Sep 17 00:00:00 2001 From: Joe Date: Sat, 5 Aug 2023 16:03:50 +0200 Subject: up --- .local/bin/conky/net.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to '.local/bin/conky/net.sh') diff --git a/.local/bin/conky/net.sh b/.local/bin/conky/net.sh index 3332e37..731db5d 100755 --- a/.local/bin/conky/net.sh +++ b/.local/bin/conky/net.sh @@ -32,8 +32,8 @@ else fi echo $if_main'${font}' -[ -z $if_wg ] || echo '${color1}WireGuard: ${color0}ON${font}' -[ -z $if_wg ] || echo '${color1}WG IP: ${color0}${goto 70}${addr '$if_wg'}${font}' -echo '${voffset 3}${color1}LAN IP: ${color0}${goto 70}${addr '$if_main'}${font}' -echo '${color1}DNS IP: ${color0}${goto 70}${nameserver 0}${font}' -echo '${color1}WAN IP: ${color0}${goto 70}${execi 15 curl -s https://ifconfig.me || echo No WAN}${font}' +[ -z $if_wg ] || echo '${color1}WireGuard ${color0}ON${font}' +[ -z $if_wg ] || echo '${color1}WG IP ${color0}${goto 70}${addr '$if_wg'}${font}' +echo '${voffset 3}${color1}LAN IP ${color0}${goto 70}${addr '$if_main'}${font}' +echo '${color1}DNS IP ${color0}${goto 70}${nameserver 0}${font}' +echo '${color1}WAN IP ${color0}${goto 70}${execi 15 curl -s https://ifconfig.me || echo No WAN}${font}' -- cgit v1.2.3