Wallpaper: added random transition + fixed "none" transition

This commit is contained in:
LemmyCook 2025-08-29 21:19:17 -04:00
parent 3496169c68
commit 26fc6098dc
4 changed files with 57 additions and 37 deletions

View file

@ -19,6 +19,10 @@ Singleton {
key: "none"
name: "None"
}
ListElement {
key: "random"
name: "Random"
}
ListElement {
key: "fade"
name: "Fade"
@ -41,6 +45,12 @@ Singleton {
}
}
// All transition keys but filter out "random"
readonly property var allTransitions: Array.from({
"length": transitionsModel.count
}, (_, i) => transitionsModel.get(i).key).filter(
key => key !== "random" && key != "none")
property var wallpaperLists: ({})
property int scanningCount: 0
readonly property bool scanning: (scanningCount > 0)