summaryrefslogtreecommitdiff
path: root/modules/launcher/Content.qml
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2026-01-08 16:13:14 -0500
committerFreya Murphy <freya@freyacat.org>2026-01-08 16:13:14 -0500
commit814d2f336c6a56e53412201bf99ca69753bda71b (patch)
treedd793d6efe906b30ced51152f377f9907f1ab06f /modules/launcher/Content.qml
parentclean up lock screen (diff)
downloadcaelestia-shell-814d2f336c6a56e53412201bf99ca69753bda71b.tar.gz
caelestia-shell-814d2f336c6a56e53412201bf99ca69753bda71b.tar.bz2
caelestia-shell-814d2f336c6a56e53412201bf99ca69753bda71b.zip
remove themes and configs from launcher
Diffstat (limited to 'modules/launcher/Content.qml')
-rw-r--r--modules/launcher/Content.qml18
1 files changed, 3 insertions, 15 deletions
diff --git a/modules/launcher/Content.qml b/modules/launcher/Content.qml
index c085976..be9fb91 100644
--- a/modules/launcher/Content.qml
+++ b/modules/launcher/Content.qml
@@ -79,25 +79,13 @@ Item {
topPadding: Appearance.padding.larger
bottomPadding: Appearance.padding.larger
- placeholderText: qsTr("Type \"%1\" for commands").arg(Config.launcher.actionPrefix)
+ placeholderText: "Search programs"
onAccepted: {
const currentItem = list.currentList?.currentItem;
if (currentItem) {
- if (list.showWallpapers) {
- if (Colours.scheme === "dynamic" && currentItem.modelData.path !== Wallpapers.actualCurrent)
- Wallpapers.previewColourLock = true;
- Wallpapers.setWallpaper(currentItem.modelData.path);
- root.visibilities.launcher = false;
- } else if (text.startsWith(Config.launcher.actionPrefix)) {
- if (text.startsWith(`${Config.launcher.actionPrefix}calc `))
- currentItem.onClicked();
- else
- currentItem.modelData.onClicked(list.currentList);
- } else {
- Apps.launch(currentItem.modelData);
- root.visibilities.launcher = false;
- }
+ Apps.launch(currentItem.modelData);
+ root.visibilities.launcher = false;
}
}