diff options
author | Joe <rbo@gmx.us> | 2024-10-22 17:19:58 +0200 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-10-22 17:19:58 +0200 |
commit | fd8c4e675727941502d62118b77fcb1490cdde60 (patch) | |
tree | aaf6f50ec90fbca5cd7f8f66485ebb5c8974a2e3 /.local | |
parent | up (diff) | |
download | dotfiles-bsd-fd8c4e675727941502d62118b77fcb1490cdde60.tar.gz dotfiles-bsd-fd8c4e675727941502d62118b77fcb1490cdde60.tar.bz2 dotfiles-bsd-fd8c4e675727941502d62118b77fcb1490cdde60.tar.xz dotfiles-bsd-fd8c4e675727941502d62118b77fcb1490cdde60.tar.zst dotfiles-bsd-fd8c4e675727941502d62118b77fcb1490cdde60.zip |
conkyup
Diffstat (limited to '.local')
-rwxr-xr-x | .local/bin/conky/net.sh | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/.local/bin/conky/net.sh b/.local/bin/conky/net.sh index 781bd9c..4baf43b 100755 --- a/.local/bin/conky/net.sh +++ b/.local/bin/conky/net.sh @@ -39,10 +39,10 @@ elif ! ip a | grep $if_vpnssl | grep UP >/dev/null 2>&1; then fi echo $if_main'${font}' -[ -z $if_wg ] || echo '${color1}WireGuard ${color0}ON${font}' -[ -z $if_wg ] || echo '${color1}WG IP ${color0}${goto 80}${addr '$if_wg'}${font}' -[ -z $if_vpnssl ] || echo '${color1}Forti VPN-SSL ${color0}ON${font}' -[ -z $if_vpnssl ] || echo '${color1}VPN IP ${color0}${goto 80}${addr '$if_vpnssl'}${font}' -echo '${voffset 3}${color1}LAN IP ${color0}${goto 80}${addr '$if_main'}${font}' -echo '${color1}DNS IP ${color0}${goto 80}${nameserver 0}${if_match "${nameserver 1}" != ""}, ${nameserver 1}${endif}${font}' -echo '${color1}WAN IP ${color0}${goto 80}${execi 15 curl -s https://ifconfig.me || echo No WAN}${font}' +[ -z $if_wg ] || echo '${color5}${font2}WireGuard ${color0}${font}ON${font}' +[ -z $if_wg ] || echo '${color5}${font2}WG IP ${color0}${font}${goto 80}${addr '$if_wg'}${font}' +[ -z $if_vpnssl ] || echo '${color5}${font2}Forti VPN-SSL ${color0}${font}ON${font}' +[ -z $if_vpnssl ] || echo '${color5}${font2}VPN IP ${color0}${font}${goto 80}${addr '$if_vpnssl'}${font}' +echo '${voffset 3}${color5}${font2}LAN IP ${color0}${font}${goto 80}${addr '$if_main'}${font}' +echo '${color5}${font2}DNS IP ${color0}${font}${goto 80}${nameserver 0}${if_match "${nameserver 1}" != ""}, ${nameserver 1}${endif}${font}' +echo '${color5}${font2}WAN IP ${color0}${font}${goto 80}${execi 15 curl -s https://ifconfig.me || echo No WAN}${font}' |