diff options
author | Joe <bousset.rudy@gmail.com> | 2023-08-05 16:03:50 +0200 |
---|---|---|
committer | Joe <bousset.rudy@gmail.com> | 2023-08-05 16:03:50 +0200 |
commit | a0c3e128119e3fcb2afa49094ebd98e0c819db57 (patch) | |
tree | f23972e5d21c536b06bad722d60e238bfd021d70 /.local/bin/conky | |
parent | up (diff) | |
download | dotfiles-bsd-a0c3e128119e3fcb2afa49094ebd98e0c819db57.tar.gz dotfiles-bsd-a0c3e128119e3fcb2afa49094ebd98e0c819db57.tar.bz2 dotfiles-bsd-a0c3e128119e3fcb2afa49094ebd98e0c819db57.tar.xz dotfiles-bsd-a0c3e128119e3fcb2afa49094ebd98e0c819db57.tar.zst dotfiles-bsd-a0c3e128119e3fcb2afa49094ebd98e0c819db57.zip |
up
Diffstat (limited to '.local/bin/conky')
-rwxr-xr-x | .local/bin/conky/net.sh | 10 |
1 files changed, 5 insertions, 5 deletions
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}' |