diff options
| author | Danilo M. <danix@danix.xyz> | 2026-10-17 10:43:38 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-10-17 10:43:38 +0200 |
| commit | 166d638bce081631705687501020725045920e50 (patch) | |
| tree | 0f89277d6fcc34f9f4345ed75769001c023c7cd3 /desktop/Module.qml | |
| parent | 4acf7325d8aa7e841c0059211d908d31d492f828 (diff) | |
| download | quickshell-166d638bce081631705687501020725045920e50.tar.gz quickshell-166d638bce081631705687501020725045920e50.zip | |
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 <noreply@anthropic.com>
Diffstat (limited to 'desktop/Module.qml')
| -rw-r--r-- | desktop/Module.qml | 4 |
1 files changed, 4 insertions, 0 deletions
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<string> keywords: [] |
