Add Profile dumper and Profile save/restore widgets
This commit is contained in:
16
community/profiles-dumper-widget.lua
Normal file
16
community/profiles-dumper-widget.lua
Normal file
@@ -0,0 +1,16 @@
|
||||
-- name = "Profiles auto dumper"
|
||||
-- description = "Hidden widget that auto dump profile on every return to the home screen"
|
||||
-- type = "widget"
|
||||
-- author = "Evgeny Zobnin (zobnin@gmail.com)"
|
||||
-- version = "1.0"
|
||||
-- foldable = "false"
|
||||
|
||||
local prof_name = "Auto dumped"
|
||||
|
||||
function on_load()
|
||||
ui:hide_widget()
|
||||
end
|
||||
|
||||
function on_resume()
|
||||
profiles:dump(prof_name)
|
||||
end
|
||||
Reference in New Issue
Block a user