sort app icons by title. Remove unused iterator var
This commit is contained in:
parent
d96ee58a58
commit
c24e40fd3f
1 changed files with 1 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue