From 166d638bce081631705687501020725045920e50 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Sat, 17 Oct 2026 10:43:38 +0200 Subject: settings: the sidebar is grouped Ten pages in one flat list had stopped reading as a list. A module now names its group, and the sidebar sorts by it and draws a small heading where it changes: Account (user, git), Appearance (wallpaper, theme, icons), Desktop (HyprSunset, HyprIdle, autostart) and Assistant (the daemon, Ask presets). Groups keep the order their first page is declared in, so shell.qml's module order still decides. Co-Authored-By: Claude Opus 5.5 --- desktop/Module.qml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'desktop/Module.qml') diff --git a/desktop/Module.qml b/desktop/Module.qml index a1817a4..85f924b 100644 --- a/desktop/Module.qml +++ b/desktop/Module.qml @@ -42,6 +42,10 @@ QtObject { // things set once and left alone. Such a module has no tile by default. property bool settings: false + // The heading a settings page is listed under in the window's sidebar. + // Groups appear in the order their first module is declared. + property string group: "" + // Words the settings window's search matches besides the label: the // settings buried inside the page, which is not loaded until opened. property list keywords: [] -- cgit v1.2.3