weather every run error fix
This commit is contained in:
@@ -16,7 +16,7 @@ case $BLOCK_BUTTON in
|
|||||||
🌞: Daily high" ;;
|
🌞: Daily high" ;;
|
||||||
esac
|
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
|
then getforecast && showweather
|
||||||
else showweather
|
else showweather
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user