summaryrefslogtreecommitdiff
path: root/modules/launcher
diff options
context:
space:
mode:
Diffstat (limited to 'modules/launcher')
-rw-r--r--modules/launcher/Actions.qml1
-rw-r--r--modules/launcher/Content.qml2
2 files changed, 3 insertions, 0 deletions
diff --git a/modules/launcher/Actions.qml b/modules/launcher/Actions.qml
index 9f6f52c..8df687b 100644
--- a/modules/launcher/Actions.qml
+++ b/modules/launcher/Actions.qml
@@ -42,6 +42,7 @@ Singleton {
name: qsTr("Transparency")
desc: qsTr("Change shell transparency")
icon: "opacity"
+ disabled: true
function onClicked(list: AppList): void {
root.autocomplete(list, "transparency");
diff --git a/modules/launcher/Content.qml b/modules/launcher/Content.qml
index b6d1056..9e08a93 100644
--- a/modules/launcher/Content.qml
+++ b/modules/launcher/Content.qml
@@ -81,6 +81,8 @@ Item {
const currentItem = list.currentList?.currentItem;
if (currentItem) {
if (list.showWallpapers) {
+ if (currentItem.modelData.path !== Wallpapers.actualCurrent)
+ Wallpapers.previewColourLock = true;
Wallpapers.setWallpaper(currentItem.modelData.path);
root.visibilities.launcher = false;
} else if (text.startsWith(Config.launcher.actionPrefix)) {