File 0001-Use-the-openSUSE-wallpaper.patch of Package plasma6-welcome
From c6ff8dcf4ea993bc95aa00ae6f7e499d457a32bc Mon Sep 17 00:00:00 2001
From: Fabian Vogt <fabian@ritter-vogt.de>
Date: Sat, 11 Jan 2025 19:21:42 +0100
Subject: [PATCH] Use the openSUSE wallpaper
This is unfortunately hardcoded. Use our default to more likely match what
the user sees.
sed -i "s#wallpapers/Next/contents/images/1920x1080.png#wallpapers/openSUSEdefault/contents/images/1920x1200.png#g" src/qml/mock/*.qml
---
src/qml/mock/MockActivities.qml | 2 +-
src/qml/mock/MockCard.qml | 2 +-
src/qml/mock/MockOverview.qml | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
Index: plasma-welcome-6.3.80git.20250401T013956~eef0830/src/qml/mock/MockActivities.qml
===================================================================
--- plasma-welcome-6.3.80git.20250401T013956~eef0830.orig/src/qml/mock/MockActivities.qml 2025-04-01 03:39:56.000000000 +0200
+++ plasma-welcome-6.3.80git.20250401T013956~eef0830/src/qml/mock/MockActivities.qml 2025-04-01 08:46:00.810327705 +0200
@@ -107,7 +107,7 @@
// We're intentionally ignoring our 16:10 desktop wallpaper (MockDesktop) - whilst that fits the square
// window, we want to maximise what we can fit in our limited height and be more representative of what
// a user will see - most use a 16:9 display.
- source: "file:" + Private.App.installPrefix + "/share/wallpapers/Next/contents/images/5120x2880.png"
+ source: "file:" + Private.App.installPrefix + "/share/wallpapers/openSUSEdefault/contents/images/1920x1200.png"
mipmap: true
}
Index: plasma-welcome-6.3.80git.20250401T013956~eef0830/src/qml/mock/MockCard.qml
===================================================================
--- plasma-welcome-6.3.80git.20250401T013956~eef0830.orig/src/qml/mock/MockCard.qml 2025-04-01 03:39:56.000000000 +0200
+++ plasma-welcome-6.3.80git.20250401T013956~eef0830/src/qml/mock/MockCard.qml 2025-04-01 08:46:34.753303169 +0200
@@ -23,7 +23,7 @@
property double backgroundScale: 1
property int blurRadius: 32
- readonly property string wallpaper: "file:" + Private.App.installPrefix + "/share/wallpapers/Next/contents/images/5120x2880.png"
+ readonly property string wallpaper: "file:" + Private.App.installPrefix + "/share/wallpapers/openSUSEdefault/contents/images/1920x1200.png"
readonly property int desktopWidth: 1024 * backgroundScale
readonly property int desktopHeight: 576 * backgroundScale
Index: plasma-welcome-6.3.80git.20250401T013956~eef0830/src/qml/mock/MockOverview.qml
===================================================================
--- plasma-welcome-6.3.80git.20250401T013956~eef0830.orig/src/qml/mock/MockOverview.qml 2025-04-01 03:39:56.000000000 +0200
+++ plasma-welcome-6.3.80git.20250401T013956~eef0830/src/qml/mock/MockOverview.qml 2025-04-01 08:46:52.706234697 +0200
@@ -20,7 +20,7 @@
// We're intentionally ignoring our 16:10 desktop wallpaper (MockDesktop) - whilst that fits the square
// window, we want to be more representative of what a user will see - most use a 16:9 display.
- readonly property string wallpaper: "file:" + Private.App.installPrefix + "/share/wallpapers/Next/contents/images/5120x2880.png"
+ readonly property string wallpaper: "file:" + Private.App.installPrefix + "/share/wallpapers/openSUSEdefault/contents/images/1920x1200.png"
readonly property double scale: layout.scale
// Underlay