File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -295,7 +295,7 @@ local function worker(user_args)
295
295
layout = wibox .layout .flex .horizontal ,
296
296
update = function (self , weather )
297
297
local day_night_extension = " "
298
- if weather .is_day then
298
+ if not weather .is_day then
299
299
day_night_extension = " -night"
300
300
end
301
301
@@ -322,7 +322,7 @@ local function worker(user_args)
322
322
-- Free plan allows forecast for up to three days, each with hours
323
323
if i > 3 then break end
324
324
local day_night_extension = " "
325
- if day .is_day then
325
+ if not day .is_day then
326
326
day_night_extension = " -night"
327
327
end
328
328
@@ -591,7 +591,7 @@ local function worker(user_args)
591
591
local result = json .decode (stdout )
592
592
593
593
local day_night_extension = " "
594
- if result .current .is_day then
594
+ if not result .current .is_day then
595
595
day_night_extension = " -night"
596
596
end
597
597
You can’t perform that action at this time.
0 commit comments