summaryrefslogtreecommitdiffstats
path: root/.local/bin
diff options
context:
space:
mode:
authorJoe <rrbo@proton.me>2023-02-14 15:45:09 +0100
committerJoe <rrbo@proton.me>2023-02-14 15:45:09 +0100
commit1341dfce53d8cf8124abd114553b62fdedb6dcbb (patch)
tree252fa4572cd606c1eea568ed4ed3232ddc6348bd /.local/bin
parentup (diff)
downloaddotfiles-bsd-1341dfce53d8cf8124abd114553b62fdedb6dcbb.tar.gz
dotfiles-bsd-1341dfce53d8cf8124abd114553b62fdedb6dcbb.tar.bz2
dotfiles-bsd-1341dfce53d8cf8124abd114553b62fdedb6dcbb.tar.xz
dotfiles-bsd-1341dfce53d8cf8124abd114553b62fdedb6dcbb.tar.zst
dotfiles-bsd-1341dfce53d8cf8124abd114553b62fdedb6dcbb.zip
up
Diffstat (limited to '.local/bin')
-rwxr-xr-x.local/bin/conky/net.sh4
-rwxr-xr-x.local/bin/conky/weather.sh2
2 files changed, 3 insertions, 3 deletions
diff --git a/.local/bin/conky/net.sh b/.local/bin/conky/net.sh
index efbb16f..903dd4a 100755
--- a/.local/bin/conky/net.sh
+++ b/.local/bin/conky/net.sh
@@ -26,12 +26,12 @@ ${color #928374}No network${font}'
exit
fi
-echo '${font1}NETWORK ${hr}${font}
+echo '${font1}NET ${hr 2}${font}
${color #928374}Interface: ${font2}${color #ebdbb2}'$if_main'${font}
${color #928374}---------
${color #928374}LAN IP: ${font2}${color #ebdbb2}${addr '$if_main'}${font}
${color #928374}DNS IP: ${font2}${color #ebdbb2}${nameserver 0}${font}
-# ${color #928374}WAN IP: ${color #ebdbb2}${font2}${execi 300 curl -s https://ifconfig.me || echo No WAN}${font}
+${color #928374}WAN IP: ${color #ebdbb2}${font2}${execi 300 curl -s https://ifconfig.me || echo No WAN}${font}
${color #928374}---------
${color #928374}${font}Down: ${color #ebdbb2}${font2}${downspeed '$if_main'}${goto 195}${color #928374}${font}Up: ${color #ebdbb2}${font2}${upspeed '$if_main'}${font}
${color #928374}${font}Total: ${color #ebdbb2}${font2}${totaldown '$if_main'}${goto 195}${color #928374}${font}Total: ${color #ebdbb2}${font2}${totalup '$if_main'}${font}'
diff --git a/.local/bin/conky/weather.sh b/.local/bin/conky/weather.sh
index 83df4f8..5490d9f 100755
--- a/.local/bin/conky/weather.sh
+++ b/.local/bin/conky/weather.sh
@@ -9,5 +9,5 @@ case "$(hostname -s)" in
;;
esac
-echo '${font1}WEATHER ${hr}
+echo '${font1}WEAT ${hr 2}
${font2}${color #ebdbb2}${alignc}${execi 1800 curl wttr.in/Lyon?T0 --silent --max-time 3}${font}'