add many new scripts

This commit is contained in:
Evgeny
2022-08-22 10:24:40 +03:00
parent a6e081c988
commit 329c7abc70
24 changed files with 617 additions and 40 deletions

View File

@@ -1,12 +0,0 @@
-- name = "Year progress"
-- description = "Shows current year progress"
-- type = "widget"
-- author = "Evgeny Zobnin (zobnin@gmail.com)"
-- version = "1.0"
function on_resume()
local year_days = 365
local current_day = os.date("*t").yday
local percent = math.floor(current_day / (year_days / 100))
ui:show_progress_bar("Year progress: "..percent.."%", current_day, year_days)
end