diff --git a/.config/quickshell/ii/modules/wallpaperSelector/WallpaperSelectorContent.qml b/.config/quickshell/ii/modules/wallpaperSelector/WallpaperSelectorContent.qml index eef284c78..56e7dab76 100644 --- a/.config/quickshell/ii/modules/wallpaperSelector/WallpaperSelectorContent.qml +++ b/.config/quickshell/ii/modules/wallpaperSelector/WallpaperSelectorContent.qml @@ -193,7 +193,7 @@ Item { Layout.margins: 4 Layout.fillWidth: true Layout.fillHeight: false - directory: Wallpapers.directory + directory: Wallpapers.effectiveDirectory onNavigateToDirectory: path => { Wallpapers.setDirectory(path.length == 0 ? "/" : path); } diff --git a/.config/quickshell/ii/services/Wallpapers.qml b/.config/quickshell/ii/services/Wallpapers.qml index 910e9eaa2..019bd8777 100644 --- a/.config/quickshell/ii/services/Wallpapers.qml +++ b/.config/quickshell/ii/services/Wallpapers.qml @@ -17,6 +17,7 @@ Singleton { property string thumbgenScriptPath: `${FileUtils.trimFileProtocol(Directories.scriptPath)}/thumbnails/thumbgen.py` property string generateThumbnailsMagicScriptPath: `${FileUtils.trimFileProtocol(Directories.scriptPath)}/thumbnails/generate-thumbnails-magick.sh` property string directory: FileUtils.trimFileProtocol(`${Directories.pictures}/Wallpapers`) + readonly property string effectiveDirectory: FileUtils.trimFileProtocol(folderModel.folder.toString()) property alias folderModel: folderModel // Expose for direct binding when needed property string searchQuery: "" readonly property list extensions: [ // TODO: add videos