Files
z-bar-qt/Modules/Wallpaper/Wallpaper.qml
T
Zacharias-Brohn d56a0260fb formatter
2026-02-24 23:20:11 +01:00

36 lines
566 B
QML

import Quickshell
import QtQuick
import Quickshell.Wayland
import qs.Config
Loader {
active: Config.background.enabled
asynchronous: true
sourceComponent: Variants {
model: Quickshell.screens
PanelWindow {
id: root
required property var modelData
WlrLayershell.exclusionMode: ExclusionMode.Ignore
WlrLayershell.layer: WlrLayer.Bottom
WlrLayershell.namespace: "ZShell-Wallpaper"
color: "transparent"
screen: modelData
anchors {
bottom: true
left: true
right: true
top: true
}
WallBackground {
}
}
}
}