Files
quickshell-config/background/Background.qml

36 lines
662 B
QML

pragma ComponentBehavior: Bound
import qs.common
import Quickshell
import Quickshell.Wayland
import QtQuick
Loader {
asynchronous: true
active: Config.background.enabled
sourceComponent: Variants {
model: Quickshell.screens
PanelWindow {
id: background
required property ShellScreen modelData
screen: modelData
WlrLayershell.namespace: "hydro-os-background"
WlrLayershell.exclusionMode: ExclusionMode.Ignore
WlrLayershell.layer: WlrLayer.Background
color: "black"
anchors {
top: true
bottom: true
left: true
right: true
}
Wallpaper {}
}
}
}