mirror of
https://github.com/ksyasuda/rice.git
synced 2025-12-05 02:53:39 -08:00
updates
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user