ColorScheme: selector wip

This commit is contained in:
quadbyte 2025-08-15 00:09:03 -04:00
parent 39cc72f067
commit b79744c135
3 changed files with 40 additions and 65 deletions

View file

@ -21,13 +21,13 @@ Singleton {
property bool scanning: false
property string transitionType: Settings.data.wallpaper.swww.transitionType
property var randomChoices: ["simple", "fade", "left", "right", "top", "bottom", "wipe", "wave", "grow", "center", "any", "outer"]
function loadWallpapers() {
console.log("[Wallpapers] Load Wallpapers")
scanning = true
wallpaperList = []
// Unsetting, then setting the folder will re-trigger the parsing!
folderModel.folder = "";
folderModel.folder = ""
folderModel.folder = "file://" + (Settings.data.wallpaper.directory !== undefined ? Settings.data.wallpaper.directory : "")
}
@ -126,7 +126,7 @@ Singleton {
}
wallpaperList = files
scanning = false
console.log("[Wallpapers] List refreshed, count:", wallpaperList.length)
console.log("[Wallpapers] List refreshed, count:", wallpaperList.length)
}
}
}