This commit is contained in:
Kopatz
2024-06-03 18:25:20 +02:00
parent de415c09a9
commit 3e21d41ff0
43 changed files with 3004 additions and 31 deletions

View File

@@ -0,0 +1,9 @@
#!/usr/bin/env bash
meteo=$(curl wttr.in/Sedriano?format=1| xargs echo)
first="${meteo%% *}"
if [ "$meteo" == "" ] || [ "$first" == "Unknown" ]; then
echo " Off"
else
echo $meteo
fi