add wallpaper picker

This commit is contained in:
lucy 2026-07-26 19:45:52 +02:00
commit 3c744a0156
5 changed files with 148 additions and 10 deletions

View file

@ -5,6 +5,7 @@ import Quickshell.Wayland
import qs
import qs.settings
import qs.modules.wallpaper
Variants {
model: Quickshell.screens
@ -45,13 +46,17 @@ Variants {
moduleHeight: root.moduleHeight
}
}
RowLayout {
id: centerLayout
Item {
id: middleItem
anchors.centerIn: parent
spacing: 5
Clock {
moduleHeight: root.moduleHeight
implicitWidth: centerLayout.width
implicitHeight: centerLayout.height
RowLayout {
id: centerLayout
spacing: 5
Clock {
moduleHeight: root.moduleHeight
}
}
}
@ -73,6 +78,10 @@ Variants {
Tray {
moduleHeight: root.moduleHeight
}
WallpaperPicker {
moduleHeight: root.moduleHeight
screenHeight: root.modelData.height
}
}
}
}