local-bin/common/weather

6 lines
107 B
Bash
Executable file

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