2026-03-09 19:32:44 +01:00
|
|
|
import Quickshell
|
|
|
|
|
import QtQuick
|
|
|
|
|
import qs
|
|
|
|
|
import qs.settings
|
|
|
|
|
import Quickshell.Wayland
|
|
|
|
|
|
|
|
|
|
Variants {
|
|
|
|
|
model: Quickshell.screens
|
|
|
|
|
delegate: WlrLayershell {
|
|
|
|
|
id: wallpaperShell
|
2026-03-13 18:58:17 +01:00
|
|
|
exclusionMode: ExclusionMode.Ignore
|
|
|
|
|
aboveWindows: false
|
2026-03-09 19:32:44 +01:00
|
|
|
required property ShellScreen modelData
|
|
|
|
|
layer: WlrLayer.Background
|
|
|
|
|
anchors {
|
|
|
|
|
top: true
|
|
|
|
|
bottom: true
|
|
|
|
|
left: true
|
|
|
|
|
right: true
|
|
|
|
|
}
|
|
|
|
|
Image {
|
|
|
|
|
id: wallpaper
|
|
|
|
|
source: Settings.config.currentWall ? Settings.config.currentWall : ""
|
|
|
|
|
anchors.fill: parent
|
|
|
|
|
}
|
2026-03-13 18:58:17 +01:00
|
|
|
DesktopClock {
|
|
|
|
|
anchors {
|
|
|
|
|
bottom: parent.bottom
|
|
|
|
|
right: parent.right
|
|
|
|
|
margins: Settings.config.margins + 20
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
PlayerWidget {
|
|
|
|
|
anchors {
|
|
|
|
|
top: parent.top
|
|
|
|
|
left: parent.left
|
|
|
|
|
margins: Settings.config.margins + 5
|
|
|
|
|
topMargin: Settings.config.margins + Settings.config.barHeight + 15
|
|
|
|
|
}
|
|
|
|
|
}
|
2026-03-09 19:32:44 +01:00
|
|
|
}
|
|
|
|
|
}
|