Skip to content

Commit

Permalink
widget.weather: remove invalid default API key; wiki updated; closes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
lcpz committed Mar 15, 2021
1 parent 21c0d15 commit 3d4bb0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion widget/weather.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ local function factory(args)
args = args or {}

local weather = { widget = args.widget or wibox.widget.textbox() }
local APPID = args.APPID or "3e321f9414eaedbfab34983bda77a66e" -- lain's default
local APPID = args.APPID -- mandatory
local timeout = args.timeout or 60 * 15 -- 15 min
local current_call = args.current_call or "curl -s 'https://api.openweathermap.org/data/2.5/weather?id=%s&units=%s&lang=%s&APPID=%s'"
local forecast_call = args.forecast_call or "curl -s 'https://api.openweathermap.org/data/2.5/forecast?id=%s&units=%s&lang=%s&APPID=%s'"
Expand Down
2 changes: 1 addition & 1 deletion wiki
Submodule wiki updated from ddc6aa to 876a5a

0 comments on commit 3d4bb0b

Please sign in to comment.