summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-17 22:44:29 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-17 22:44:29 +1000
commite373fe0375a45aa2825e28c7326bed1a3cd97c65 (patch)
treec410f04b6b7616a0f954850ff234e8fcc4b41a15 /modules
parentpopouts: fix activewindow screencopy (diff)
downloadcaelestia-shell-e373fe0375a45aa2825e28c7326bed1a3cd97c65.tar.gz
caelestia-shell-e373fe0375a45aa2825e28c7326bed1a3cd97c65.tar.bz2
caelestia-shell-e373fe0375a45aa2825e28c7326bed1a3cd97c65.zip
launcher: fix wallpaper preview colours
Also disable transparency action (not impled and won't be in the near future)
Diffstat (limited to 'modules')
-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)) {