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
|
2026-03-27 16:02:26 +01:00
|
|
|
screen: modelData
|
2026-03-09 19:32:44 +01:00
|
|
|
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
|
2026-03-25 21:08:36 +01:00
|
|
|
margins: 25
|
2026-03-13 18:58:17 +01:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
PlayerWidget {
|
|
|
|
|
anchors {
|
|
|
|
|
top: parent.top
|
|
|
|
|
left: parent.left
|
2026-03-25 21:08:36 +01:00
|
|
|
margins: 35
|
|
|
|
|
topMargin: Settings.config.barHeight + 35 + (Settings.config.floating ? Settings.config.margins : 0)
|
2026-03-13 18:58:17 +01:00
|
|
|
}
|
|
|
|
|
}
|
2026-03-09 19:32:44 +01:00
|
|
|
}
|
|
|
|
|
}
|