quickshell/modules/overlays/Wallpaper.qml

32 lines
663 B
QML
Raw Normal View History

2026-01-18 15:54:25 +01:00
pragma ComponentBehavior: Bound
import Quickshell
import QtQuick
import Quickshell.Wayland
import qs.settings
Variants {
id: root
model: Quickshell.screens
delegate: WlrLayershell {
id: wpShell
aboveWindows: false
exclusionMode: ExclusionMode.Ignore
required property var modelData
screen: modelData
anchors {
left: true
top: true
bottom: true
right: true
}
layer: WlrLayer.Background
2026-01-18 15:54:25 +01:00
Image {
2026-01-18 15:54:25 +01:00
anchors.fill: parent
fillMode: Image.Stretch
source: Settings.config.currentWall
}
}
}