From 96429160c30ba5f6dcd25c8e6a181221195c41d8 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sun, 15 Jun 2025 18:08:45 +1000 Subject: feat: user config file Config file at `~/.config/caelestia/shell.json` --- modules/launcher/AppList.qml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/launcher/AppList.qml') diff --git a/modules/launcher/AppList.qml b/modules/launcher/AppList.qml index a431395..b2b9f57 100644 --- a/modules/launcher/AppList.qml +++ b/modules/launcher/AppList.qml @@ -14,14 +14,14 @@ ListView { required property TextField search required property PersistentProperties visibilities - property bool isAction: search.text.startsWith(LauncherConfig.actionPrefix) + property bool isAction: search.text.startsWith(Config.launcher.actionPrefix) function getModelValues() { let text = search.text; if (isAction) return Actions.fuzzyQuery(text); - if (text.startsWith(LauncherConfig.actionPrefix)) - text = search.text.slice(LauncherConfig.actionPrefix.length); + if (text.startsWith(Config.launcher.actionPrefix)) + text = search.text.slice(Config.launcher.actionPrefix.length); return Apps.fuzzyQuery(text); } @@ -32,7 +32,7 @@ ListView { spacing: Appearance.spacing.small orientation: Qt.Vertical - implicitHeight: (LauncherConfig.sizes.itemHeight + spacing) * Math.min(LauncherConfig.maxShown, count) - spacing + implicitHeight: (Config.launcher.sizes.itemHeight + spacing) * Math.min(Config.launcher.maxShown, count) - spacing highlightMoveDuration: Appearance.anim.durations.normal highlightResizeDuration: 0 -- cgit v1.2.3-freya