Switch to kebab-case for file name
This commit is contained in:
parent
fe198c960f
commit
d8f386d512
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
# Displays today's precipication chance (☔), and daily low (🥶) and high (🌞).
|
# Displays today's precipication chance (☔), and daily low (🥶) and high (🌞).
|
||||||
# Usually intended for the statusbar.
|
# 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 a weather report from 'wttr.in' and save it locally.
|
||||||
get_forecast() { curl -sf "wttr.in/$LOCATION" > "$weather_report" || exit 1; }
|
get_forecast() { curl -sf "wttr.in/$LOCATION" > "$weather_report" || exit 1; }
|
||||||
|
|
Loading…
Reference in a new issue