summaryrefslogtreecommitdiff
path: root/modules/launcher/AppList.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-02 23:35:22 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-02 23:35:22 +1000
commit587c3a7bc90118d3cf235307a07a153f52dd3d88 (patch)
tree56f94e3a25bd7e390482c0771726441082f3d7e5 /modules/launcher/AppList.qml
parentrefactor: move launcher app list into separate file (diff)
downloadcaelestia-shell-587c3a7bc90118d3cf235307a07a153f52dd3d88.tar.gz
caelestia-shell-587c3a7bc90118d3cf235307a07a153f52dd3d88.tar.bz2
caelestia-shell-587c3a7bc90118d3cf235307a07a153f52dd3d88.zip
feat: launcher keyboard nav
Using currentitem and highlight Also fix not closing launcher when clicking app Apps service use only one process
Diffstat (limited to 'modules/launcher/AppList.qml')
-rw-r--r--modules/launcher/AppList.qml9
1 files changed, 8 insertions, 1 deletions
diff --git a/modules/launcher/AppList.qml b/modules/launcher/AppList.qml
index d5724f8..3175402 100644
--- a/modules/launcher/AppList.qml
+++ b/modules/launcher/AppList.qml
@@ -10,6 +10,7 @@ ListView {
required property int padding
required property string search
+ required property Scope launcher
model: ScriptModel {
values: Apps.fuzzyQuery(root.search)
@@ -26,10 +27,16 @@ ListView {
anchors.bottom: parent.bottom
anchors.margins: root.padding
+ highlightMoveDuration: Appearance.anim.durations.normal
+
+ highlight: StyledRect {
+ radius: Appearance.rounding.normal
+ color: Appearance.alpha(Appearance.colours.m3surfaceContainerHighest, true)
+ }
+
delegate: AppItem {
launcher: root.launcher
}
- // TODO highlight
ScrollBar.vertical: StyledScrollBar {
// Move half out