add wallpaper picker
This commit is contained in:
parent
8e4c0fed9c
commit
3c744a0156
5 changed files with 148 additions and 10 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue