From f4e992bf83e159e2a5d4bb933cb2933796c87cd8 Mon Sep 17 00:00:00 2001 From: Ly-sec Date: Sun, 10 Aug 2025 13:11:29 +0200 Subject: [PATCH] Avoid hardcoding test wallpaper path --- Modules/Background/Background.qml | 2 +- Modules/Background/Overview.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/Background/Background.qml b/Modules/Background/Background.qml index c1f3d12..c587bbe 100644 --- a/Modules/Background/Background.qml +++ b/Modules/Background/Background.qml @@ -6,7 +6,7 @@ import qs.Services ShellRoot { property var modelData - property string wallpaperSource: "/home/seb/Development/misc/Noctalia/Assets/Tests/wallpaper.png" + property string wallpaperSource: Qt.resolvedUrl("../../Assets/Tests/wallpaper.png") Variants { model: Quickshell.screens diff --git a/Modules/Background/Overview.qml b/Modules/Background/Overview.qml index fd65eca..2bbc85b 100644 --- a/Modules/Background/Overview.qml +++ b/Modules/Background/Overview.qml @@ -5,7 +5,7 @@ import Quickshell.Wayland import qs.Services ShellRoot { - property string wallpaperSource: "/home/lysec/Pictures/wallpapers/wallhaven-6lqvql.jpg" + property string wallpaperSource: Qt.resolvedUrl("../../Assets/Tests/wallpaper.png") property var modelData Variants {