Minor cleanup
This commit is contained in:
@ -6,7 +6,6 @@ wallpaper.active = -1
|
||||
wallpaper.timenow = function()
|
||||
local time = {}
|
||||
|
||||
local t
|
||||
for t in string.gmatch(os.date("%H:%M"), "[^:]+") do
|
||||
table.insert(time, t)
|
||||
end
|
||||
@ -35,7 +34,6 @@ end
|
||||
|
||||
-- Which image should be scheduled now?
|
||||
wallpaper.current = function()
|
||||
local i
|
||||
for i = #beautiful.wallpaper, 1, -1 do
|
||||
if wallpaper.get_start_time(beautiful.wallpaper[i]) <= wallpaper.timenow() then
|
||||
return i
|
||||
|
Reference in New Issue
Block a user