From abef4c2b45a5eac74dabc37ec711afece096dec0 Mon Sep 17 00:00:00 2001 From: Teo Date: Thu, 12 Feb 2026 21:10:53 +0100 Subject: [PATCH] dsa --- modules/wp/WallpaperPicker.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/wp/WallpaperPicker.qml b/modules/wp/WallpaperPicker.qml index 0bd56e0..17e2b9a 100644 --- a/modules/wp/WallpaperPicker.qml +++ b/modules/wp/WallpaperPicker.qml @@ -41,7 +41,7 @@ PanelWindow { // get folder url FolderListModel { id: imagesModel - folder: "file://" + Quickshell.workingDirectory + "/Pictures/Wallpapers" + folder: "file://" + Quickshell.env("HOME") + "/Pictures/Wallpapers" nameFilters: ["*.png", "*.jpg", "*.jpeg"] showDirs: false } @@ -103,7 +103,7 @@ PanelWindow { anchors.fill: parent Process { id: wallpaperProcess - command: ["sh", "-c", Quickshell.workingDirectory + "/.config/quickshell/modules/wp/set-wallpaper.sh" + " " + model.filePath + " &"] + command: ["sh", "-c", Quickshell.env("HOME") + "/.config/quickshell/modules/wp/set-wallpaper.sh" + " " + model.filePath + " &"] stdout: StdioCollector { onStreamFinished: console.log(`line read: ${this.text}`) }