Files
z-bar-qt/Modules/Wallpaper/Wallpaper.qml
T
Zacharias-Brohn 851b78f0ff kek test
2026-03-12 10:04:27 +01:00

40 lines
625 B
QML

import Quickshell
import QtQuick
import Quickshell.Wayland
import qs.Config
import qs.Modules.DesktopIcons
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.Background
WlrLayershell.namespace: "ZShell-Wallpaper"
color: "transparent"
screen: modelData
anchors {
bottom: true
left: true
right: true
top: true
}
WallBackground {
}
DesktopIcons {
}
}
}
}