Files
z-bar-qt/Modules/Wallpaper/Wallpaper.qml
zach 24d5584b98
Format (JS/TS) / format (pull_request) Failing after 7s
Lint (JS/TS) / lint (pull_request) Failing after 10s
Lint (Python) / lint (pull_request) Failing after 19s
Lint (Rust) / lint (pull_request) Failing after 1m36s
wallpaper now uses Image (hopefully temporarily)
2026-05-19 22:12:37 +02:00

48 lines
767 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 {
screen: root.screen
}
Loader {
id: loader
active: Config.general.desktopIcons
anchors.fill: parent
sourceComponent: DesktopIcons {
}
}
}
}
}