Added the ability to specify location in the weather settings.
This commit is contained in:
@@ -691,6 +691,7 @@ const options = mkOptions(OPTIONS, {
|
||||
weather: {
|
||||
interval: opt(60000),
|
||||
unit: opt<"metric" | "imperial">("imperial"),
|
||||
location: opt("Los Angeles"),
|
||||
key: opt<string>(
|
||||
JSON.parse(Utils.readFile(`${App.configDir}/.weather.json`) || "{}")?.weather_api_key || "",
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user