diff options
| author | Tim Hämisch <tim@thaemisch.net> | 2025-06-15 13:40:47 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-15 13:40:47 +0200 |
| commit | 68874082b4cfee63feaecc0640646ad0ba753da7 (patch) | |
| tree | 815a1113a4bd83373283253a35f0220a08a8cfe6 /modules/launcher/Actions.qml | |
| parent | launcher: use standard logout command (diff) | |
| parent | dashboard: fix uptime (diff) | |
| download | caelestia-shell-68874082b4cfee63feaecc0640646ad0ba753da7.tar.gz caelestia-shell-68874082b4cfee63feaecc0640646ad0ba753da7.tar.bz2 caelestia-shell-68874082b4cfee63feaecc0640646ad0ba753da7.zip | |
Merge branch 'main' into betteractions
Diffstat (limited to 'modules/launcher/Actions.qml')
| -rw-r--r-- | modules/launcher/Actions.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/launcher/Actions.qml b/modules/launcher/Actions.qml index d612cb0..1f6e72b 100644 --- a/modules/launcher/Actions.qml +++ b/modules/launcher/Actions.qml @@ -129,7 +129,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 @@ -137,7 +137,7 @@ Singleton { } function autocomplete(list: AppList, text: string): void { - list.search.text = `${LauncherConfig.actionPrefix}${text} `; + list.search.text = `${Config.launcher.actionPrefix}${text} `; } function handleDangerousAction(list: AppList, process: QtObject): void { |