local-bin/common/weather

7 lines
107 B
Text
Raw Normal View History

#!/bin/sh
FORMAT="%C,+%t+(feels+like+%f)"
WEATHER=$(curl -s wttr.in/?format=$FORMAT)
printf "$WEATHER\n"