From f4e992bf83e159e2a5d4bb933cb2933796c87cd8 Mon Sep 17 00:00:00 2001 From: Ly-sec Date: Sun, 10 Aug 2025 13:11:29 +0200 Subject: [PATCH 1/2] 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 { From b9103d4976dcc6369120c7c1ed89db7d9e0633fb Mon Sep 17 00:00:00 2001 From: Ly-sec Date: Sun, 10 Aug 2025 13:16:25 +0200 Subject: [PATCH 2/2] Add Overview --- shell.qml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/shell.qml b/shell.qml index 49f416c..55872f2 100644 --- a/shell.qml +++ b/shell.qml @@ -20,7 +20,7 @@ ShellRoot { modelData: item } } - + Variants { model: Quickshell.screens @@ -29,6 +29,14 @@ ShellRoot { } } + Variants { + model: Quickshell.screens + + delegate: Overview { + modelData: item + } + } + DemoPanel { id: demoPanel }