We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 938f74e commit f334574Copy full SHA for f334574
src/devcontainers/base/src/.devcontainer/nhsnotify/welcome.sh
@@ -394,6 +394,17 @@ echo
394
# Show weather
395
show_weather
396
397
+# Show wttr.in output
398
+echo -e "${CYAN}${BOLD}🌤️ wttr.in Weather Report${NC}"
399
+encoded_location=$(echo "$WEATHER_LOCATION" | sed 's/ /+/g')
400
+wttr_output=$(curl -s --max-time 5 "wttr.in/${encoded_location}?1" 2>/dev/null)
401
+if [ -n "$wttr_output" ]; then
402
+ echo "$wttr_output"
403
+else
404
+ echo -e "${YELLOW}⚠️ wttr.in service unavailable${NC}"
405
+fi
406
+echo
407
+
408
# Feature showcase
409
echo -e "${GREEN}${BOLD}🚀 READY TO DEVELOP WITH:${NC}"
410
echo
0 commit comments