This commit is contained in:
ksyasuda
2021-11-08 21:08:19 -08:00
parent 2cbb08284e
commit fed45d0b5a
3 changed files with 9 additions and 349 deletions

View File

@@ -8,10 +8,12 @@ cache_weather_quote=${cache_dir}/weather-quote
cache_weather_hex=${cache_dir}/weather-hex
cache_weather_icon=${cache_dir}/weather-icon
[ -f "$HOME/.weatherkey" ] && source "$HOME/.weatherkey"
## Weather data
KEY="YOUR_KEY"
ID="YOUR_CITY_ID"
UNIT="metric" # Available options : 'metric' or 'imperial'
KEY="$OPENWEATHERMAP_KEY"
ID="5341114"
UNIT="imperial" # Available options : 'metric' or 'imperial'
## Make cache dir
if [[ ! -d "$cache_dir" ]]; then