quickshell/modules/wallpaper/Wallpaper.qml

28 lines
633 B
QML
Raw Normal View History

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 {
exclusionMode: ExclusionMode.Ignore
aboveWindows: false
id: wallpaperShell
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
}
}
}