Merge pull request #66 from FoamyGuy/order_app_icons
Some checks failed
Validate Build / validate-build (push) Has been cancelled

sort app icons by title. Remove unused iterator var
This commit is contained in:
foamyguy 2025-08-22 11:46:37 -05:00 committed by GitHub
commit 508a0f5b87
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -175,7 +175,6 @@ scaled_group.append(menu_title_txt)
app_titles = []
apps = []
app_path = pathlib.Path("/apps")
i = 0
pages = [{}]
@ -216,7 +215,7 @@ for path in app_path.iterdir():
"dir": path
})
i += 1
apps = sorted(apps, key=lambda app: app["title"].lower())
print("launcher config", launcher_config)
if "favorites" in launcher_config: