From 1c8339df108d52a1c76a9e7a09293c5d5738900e Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Sun, 7 Dec 2025 20:58:49 +0100 Subject: [PATCH] waffles: start: sort items alphabetically in each category --- .../ii/modules/waffle/startMenu/startPage/AppCategoryGrid.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dots/.config/quickshell/ii/modules/waffle/startMenu/startPage/AppCategoryGrid.qml b/dots/.config/quickshell/ii/modules/waffle/startMenu/startPage/AppCategoryGrid.qml index bc584def3..fa38e53f3 100644 --- a/dots/.config/quickshell/ii/modules/waffle/startMenu/startPage/AppCategoryGrid.qml +++ b/dots/.config/quickshell/ii/modules/waffle/startMenu/startPage/AppCategoryGrid.qml @@ -13,11 +13,11 @@ import qs.modules.waffle.looks Rectangle { id: root property AggregatedAppCategoryModel aggregatedCategory - property list desktopEntries: DesktopEntries.applications.values.filter(app => { + property list desktopEntries: [...DesktopEntries.applications.values.filter(app => { const appCategories = app.categories; const gridCategories = root.aggregatedCategory.categories; return appCategories.some(cat => gridCategories.indexOf(cat) !== -1); - }) + })].sort((a, b) => a.name.localeCompare(b.name)); property Item windowRootItem: { var item = root;