aboutsummaryrefslogtreecommitdiffstats
path: root/desktop/Module.qml
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-17 10:01:40 +0200
committerDanilo M. <danix@danix.xyz>2026-10-17 10:01:40 +0200
commit74fde3e0dae5a40c522ada14cf04945f3c806730 (patch)
tree3b6d669b6aa0e0d78ada8e93dbe12fc159b393e0 /desktop/Module.qml
parent60f8ab4b63e6232818c259c111e502830a0c9af0 (diff)
downloadquickshell-74fde3e0dae5a40c522ada14cf04945f3c806730.tar.gz
quickshell-74fde3e0dae5a40c522ada14cf04945f3c806730.zip
desktop: settings search, and an About landing page
The landing page's tiles repeated the sidebar. It now says what the shell is and where things live, which is what a landing page is for. The sidebar gains a search. A page is a Component loaded only when opened, so its contents cannot be indexed without loading every page; instead a module lists keywords for the settings buried in its page, and the search matches those and the label. An entry matched by a keyword shows which one, Enter opens the first match, Escape clears and then steps out as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'desktop/Module.qml')
-rw-r--r--desktop/Module.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/desktop/Module.qml b/desktop/Module.qml
index 5217d3f..448fa7b 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
+ // 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: []
+
// Whether the drawer's grid shows a tile. False for a module reached
// some other way: the user page opens from the drawer's header row.
property bool tiled: !settings