dwm-status-bar-freebsd/weather

6 lines
279 B
Plaintext
Raw Normal View History

2023-05-30 10:01:34 +02:00
#!/bin/sh
# curl "https://wttr.in/Viveiro?format=3" 2>/dev/null | cut -d\: -f2 | sed 's/ / /g'
#curl "https://wttr.in/Viveiro?format=3" 2>/dev/null | cut -d\: -f2 | sed 's/ //g'
echo `curl 'https://wttr.in/Viveiro?format=%c%t+%m+%w' | grep -v "Unknown location" 2>/dev/null`