plasma6-welcome/0001-Use-the-openSUSE-wallpaper.patch

34 lines
1.4 KiB
Diff
Raw Permalink Normal View History

From f0375048f336740dd2239369df7be18a619ec8e8 Mon Sep 17 00:00:00 2001
From: Luca Beltrame <lbeltrame@kde.org>
Date: Sun, 11 Aug 2024 21:21:11 +0200
Subject: [PATCH] Use the openSUSE wallpaper
This is unfortunately hardcoded. Use our default to more likely match what
the user sees.
---
src/qml/mock/MockCard.qml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/qml/mock/MockCard.qml b/src/qml/mock/MockCard.qml
index 356e96a..cc29eb5 100644
--- a/src/qml/mock/MockCard.qml
+++ b/src/qml/mock/MockCard.qml
@@ -21,12 +21,12 @@ Kirigami.AbstractCard {
property int backgroundAlignment: Qt.AlignRight | Qt.AlignBottom
property int blurRadius: 32
- readonly property string wallpaper: "file:" + Controller.installPrefix() + "/share/wallpapers/Next/contents/images/1280x800.png"
+ readonly property string wallpaper: "file:" + Controller.installPrefix() + "/share/wallpapers/openSUSEdefault/contents/images/1280x1024.png"
readonly property int desktopWidth: wallpaperImage.sourceSize.width
readonly property int desktopHeight: wallpaperImage.sourceSize.height
/*
- * 1280x800 is chosen to look good at normal window sizes: The aspect closely
+ * 1280x1024 is chosen to look good at normal window sizes: The aspect closely
* matches that of the mock as shown in the application and is not too large.
*
* The background be positioned according to the alignment, and expand to fit
--
2.46.0