summaryrefslogtreecommitdiff
path: root/modules/launcher/AppList.qml
diff options
context:
space:
mode:
authorTim Hämisch <tim@thaemisch.net>2025-06-15 13:40:47 +0200
committerGitHub <noreply@github.com>2025-06-15 13:40:47 +0200
commit68874082b4cfee63feaecc0640646ad0ba753da7 (patch)
tree815a1113a4bd83373283253a35f0220a08a8cfe6 /modules/launcher/AppList.qml
parentlauncher: use standard logout command (diff)
parentdashboard: fix uptime (diff)
downloadcaelestia-shell-68874082b4cfee63feaecc0640646ad0ba753da7.tar.gz
caelestia-shell-68874082b4cfee63feaecc0640646ad0ba753da7.tar.bz2
caelestia-shell-68874082b4cfee63feaecc0640646ad0ba753da7.zip
Merge branch 'main' into betteractions
Diffstat (limited to 'modules/launcher/AppList.qml')
-rw-r--r--modules/launcher/AppList.qml8
1 files changed, 4 insertions, 4 deletions
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