Force metric return units

This commit is contained in:
David Heinemeier Hansson
2026-05-07 19:44:19 +02:00
parent fa1ed01cd7
commit 0c6bd1929f
+1 -1
View File
@@ -2,7 +2,7 @@
# omarchy:summary=Returns a formatted weather status string with temperature and wind speed.
weather=$(curl -fsS --max-time 4 "https://wttr.in?format=%l|%t|%w" 2>/dev/null | tr -d '\n')
weather=$(curl -fsS --max-time 4 "https://wttr.in?m&format=%l|%t|%w" 2>/dev/null | tr -d '\n')
if [[ -z $weather ]]; then
echo "Weather unavailable"