Skip to content

Commit

Permalink
fix: 修复非今日壁纸未按预期定时删除问题
Browse files Browse the repository at this point in the history
写错调用函数导致
  • Loading branch information
KURANADO2 committed Oct 12, 2022
1 parent a6dae18 commit c7cb0a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/wallpaper.lua
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,4 @@ end
-- 每 10 min 切换一次壁纸
switch_wallpaper_timer = hs.timer.doEvery(600, switch_wallpaper, true):start()
-- 每天自动执行一次非今日壁纸删除,以减小磁盘占用
delete_wallpaper_timer = hs.timer.doEvery(86400, switch_wallpaper, true):start()
delete_wallpaper_timer = hs.timer.doEvery(86400, delete_wallpaper, true):start()

0 comments on commit c7cb0a6

Please sign in to comment.