Files
z-bar-qt/Wallpaper.qml
T
Zacharias-Brohn 57746ffc9e **shadows** update
2025-11-18 00:02:52 +01:00

43 lines
1.1 KiB
QML

import Quickshell
import QtQuick
import Quickshell.Wayland
import qs.Helpers
import qs.Modules
Scope {
Variants {
model: Quickshell.screens
PanelWindow {
id: root
required property var modelData
screen: modelData
WlrLayershell.exclusionMode: ExclusionMode.Ignore
WlrLayershell.layer: WlrLayer.Bottom
color: "transparent"
anchors {
top: true
left: true
right: true
bottom: true
}
Image {
id: wallpaperImage
anchors.fill: parent
source: WallpaperPath.currentWallpaperPath
fillMode: Image.PreserveAspectCrop
asynchronous: true
retainWhileLoading: true
// Behavior on source {
// Anim {
// properties: "opacity"
// duration: 500
// }
// }
}
}
}
}