Initial commit
This commit is contained in:
6
year_progress-widget.lua
Normal file
6
year_progress-widget.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
function onResume()
|
||||
local yearDays = 365
|
||||
local currentDay = os.date("*t").yday
|
||||
local percent = math.floor(currentDay / (yearDays / 100))
|
||||
aio:showProgressBar("Year progress: "..percent.."%", currentDay, yearDays)
|
||||
end
|
||||
Reference in New Issue
Block a user