diff options
| author | Freya Murphy <freya@freyacat.org> | 2026-01-08 16:13:14 -0500 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2026-01-08 16:13:14 -0500 |
| commit | 814d2f336c6a56e53412201bf99ca69753bda71b (patch) | |
| tree | dd793d6efe906b30ced51152f377f9907f1ab06f /modules/launcher/Content.qml | |
| parent | clean up lock screen (diff) | |
| download | caelestia-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.qml | 18 |
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; } } |