Add method to dynamically update app launcher favorites

This commit is contained in:
Ksaper 2023-02-12 18:16:43 +02:00
parent ee9c8b1283
commit 1e694218df
1 changed files with 6 additions and 0 deletions

View File

@ -573,6 +573,12 @@ local function generate_apps(self)
end
end
-- Sets favorites
function app_launcher:set_favorites(favorites)
self.favorites = favorites
generate_apps(self)
end
--- Scrolls up
function app_launcher:scroll_up()
scroll(self, "up")