wallpaper selection

This commit is contained in:
Benjamin Palko 2025-09-22 21:29:36 -04:00
parent 3d1816c0f1
commit 2bfa0c189a
5 changed files with 157 additions and 7 deletions

View file

@ -0,0 +1,32 @@
import qs.services
import QtQuick
import QtQuick.Controls
StackView {
id: stack
property url wallpaper: WallpaperService.currentWallpaper
anchors.fill: parent
replaceEnter: Transition {
OpacityAnimator {
from: 0.0
to: 1.0
duration: 1000
}
}
replaceExit: Transition {
PauseAnimation {
duration: 1100
}
}
Component {
id: img
Image {}
}
onWallpaperChanged: stack.replace(img, {
"source": stack.wallpaper
})
}