local-bin/common/weather

6 lines
118 B
Bash
Executable file

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