first commit

This commit is contained in:
2020-05-09 13:43:39 +02:00
commit e53c625e08
54 changed files with 7176 additions and 0 deletions

15
.local/bin/getforecast Executable file
View File

@ -0,0 +1,15 @@
#!/bin/sh
# Updates weather forecast
FILE="$HOME/.config/.weatherreport.tmp"
FILER="$HOME/.config/weatherreport"
curl -s --max-time 10 "wttr.in/$location" > $FILE
if [ -s "$FILE" ]
then
mv $FILE $FILER
# notify-send " Weather" "The weather forecast has been updated."
else
rm $FILE
fi