nosignal-shell/modules/background/Background.qml
2025-07-22 00:26:01 +10:00

43 lines
995 B
QML

import qs.widgets
import qs.config
import Quickshell
import Quickshell.Wayland
import QtQuick
LazyLoader {
active: Config.background.enabled
Variants {
model: Quickshell.screens
StyledWindow {
id: win
required property ShellScreen modelData
screen: modelData
name: "background"
WlrLayershell.exclusionMode: ExclusionMode.Ignore
WlrLayershell.layer: WlrLayer.Background
color: "black"
anchors.top: true
anchors.bottom: true
anchors.left: true
anchors.right: true
Wallpaper {}
Loader {
anchors.right: parent.right
anchors.bottom: parent.bottom
anchors.margins: Appearance.padding.large
active: Config.background.desktopClock.enabled
asynchronous: true
source: "DesktopClock.qml"
}
}
}
}