initialstart: Fix wallpaper path

The wallpaper paths changed for Plasma 6.4: https://invent.kde.org/plasma/breeze/-/tree/master/wallpapers/Next/contents?ref_type=heads

We really need a more adaptive way to do this in the future...
This commit is contained in:
Devin Lin 2025-07-11 01:38:18 -04:00
parent 8519bb7be3
commit d3cb51bef6

View file

@ -44,8 +44,9 @@ Item {
readonly property bool isLandscape: width >= height readonly property bool isLandscape: width >= height
source: { source: {
// default wallpaper background // Default wallpaper background
const imgFile = isLandscape ? '2560x1440.png' : '1080x1920.png'; // Needs to be in-sync with breeze/wallpapers/Next/contents/images
const imgFile = isLandscape ? '5120x2880.png' : '1440x2960.png';
const lightWallpaperFolder = 'wallpapers/Next/contents/images/'; const lightWallpaperFolder = 'wallpapers/Next/contents/images/';
const darkWallpaperFolder = 'wallpapers/Next/contents/images_dark/'; const darkWallpaperFolder = 'wallpapers/Next/contents/images_dark/';