reorganization

This commit is contained in:
Evgeny
2021-08-06 14:43:34 +03:00
parent 372ec8578d
commit 1e9b33eaea
52 changed files with 1044 additions and 20 deletions

17
main/actions-widget.lua Normal file
View File

@@ -0,0 +1,17 @@
-- name = "Actions"
-- description = "Launcher actions widget"
-- type = "widget"
-- author = "Evgeny Zobnin (zobnin@gmail.com)"
-- version = "1.0"
function on_resume()
actions_names = { "Drawer", "Search", "Notify", "Menu" }
actions_colors = { md_colors.purple_800, md_colors.purple_600, md_colors.purple_400, md_colors.purple_300 }
actions = { "apps_menu", "search", "notify", "quick_menu" }
ui:show_buttons(actions_names, actions_colors)
end
function on_click(idx)
aio:do_action(actions[idx])
end