|
123456789101112131415161718192021222324 |
- #!/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
-
|