25 lines
317 B
Plaintext
25 lines
317 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
source pa-lib
|
||
|
|
||
|
WFILE=/tmp/weather
|
||
|
LOCATION="BRQ"
|
||
|
|
||
|
info "Fetching weather report for $LOCATION."
|
||
|
weather -q -m $LOCATION > $WFILE
|
||
|
|
||
|
pa-preheat
|
||
|
|
||
|
pa-announcement
|
||
|
|
||
|
pa-say "Here is the latest weather report:"
|
||
|
cat $WFILE
|
||
|
pa-say -f "$WFILE" -l 80
|
||
|
|
||
|
pa-say "Have a great day!"
|
||
|
|
||
|
pa-announcement-quick
|
||
|
|
||
|
pa-shutdown
|
||
|
|