28 lines
633 B
QML
28 lines
633 B
QML
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
|
|
}
|
|
}
|
|
}
|