summaryrefslogtreecommitdiff
path: root/modules/launcher/Actions.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-15 18:08:45 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-15 18:08:45 +1000
commit96429160c30ba5f6dcd25c8e6a181221195c41d8 (patch)
tree6f95bac8f3056abae67c04ae612b574ce1c37286 /modules/launcher/Actions.qml
parentinternal: properly fix beat detector (diff)
downloadcaelestia-shell-96429160c30ba5f6dcd25c8e6a181221195c41d8.tar.gz
caelestia-shell-96429160c30ba5f6dcd25c8e6a181221195c41d8.tar.bz2
caelestia-shell-96429160c30ba5f6dcd25c8e6a181221195c41d8.zip
feat: user config file
Config file at `~/.config/caelestia/shell.json`
Diffstat (limited to 'modules/launcher/Actions.qml')
-rw-r--r--modules/launcher/Actions.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/launcher/Actions.qml b/modules/launcher/Actions.qml
index 0cbc870..beb77a5 100644
--- a/modules/launcher/Actions.qml
+++ b/modules/launcher/Actions.qml
@@ -96,7 +96,7 @@ Singleton {
}))
function fuzzyQuery(search: string): var {
- return Fuzzy.go(search.slice(LauncherConfig.actionPrefix.length), preppedActions, {
+ return Fuzzy.go(search.slice(Config.launcher.actionPrefix.length), preppedActions, {
all: true,
keys: ["name", "desc"],
scoreFn: r => r[0].score > 0 ? r[0].score * 0.9 + r[1].score * 0.1 : 0
@@ -104,7 +104,7 @@ Singleton {
}
function autocomplete(list: AppList, text: string): void {
- list.search.text = `${LauncherConfig.actionPrefix}${text} `;
+ list.search.text = `${Config.launcher.actionPrefix}${text} `;
}
Process {