Added programs

Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
2021-03-22 21:27:54 +01:00
parent 5764f9a787
commit c18381a3c6
124 changed files with 18079 additions and 0 deletions

16
.local/bin/getforecast Executable file
View File

@ -0,0 +1,16 @@
#!/bin/sh
# Updates weather forecast
FILE="$HOME/.config/.weatherreport.tmp"
FILER="$HOME/.config/weatherreport"
location="Kleczew"
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