weather every run error fix
This commit is contained in:
parent
77cd1bcd44
commit
ee2f8e9302
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ case $BLOCK_BUTTON in
|
|||
🌞: Daily high" ;;
|
||||
esac
|
||||
|
||||
if [ "$(stat -c %y "$HOME/.local/share/weatherreport" >/dev/null 2>&1 | awk '{print $1}')" != "$(date '+%Y-%m-%d')" ]
|
||||
if [ "$(stat -c %y "$HOME/.local/share/weatherreport" 2>/dev/null | awk '{print $1}')" != "$(date '+%Y-%m-%d')" ]
|
||||
then getforecast && showweather
|
||||
else showweather
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue