Switch to kebab-case for file name

This commit is contained in:
HelionSmoker 2023-02-12 13:33:34 +02:00 committed by GitHub
parent fe198c960f
commit d8f386d512
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,7 +3,7 @@
# Displays today's precipication chance (☔), and daily low (🥶) and high (🌞).
# Usually intended for the statusbar.
weather_report="${XDG_CACHE_HOME:-$HOME/.cache}/weatherreport"
weather_report="${XDG_CACHE_HOME:-$HOME/.cache}/weather-report"
# Get a weather report from 'wttr.in' and save it locally.
get_forecast() { curl -sf "wttr.in/$LOCATION" > "$weather_report" || exit 1; }