40 lines
956 B
QML
40 lines
956 B
QML
import Quickshell
|
|
import Quickshell.Wayland
|
|
import Quickshell.Widgets
|
|
import Quickshell.Io
|
|
import QtQuick
|
|
import QtQuick.Effects
|
|
|
|
Variants {
|
|
model: Quickshell.screens
|
|
PanelWindow {
|
|
id: bg
|
|
anchors {
|
|
top: true
|
|
right: true
|
|
bottom: true
|
|
left: true
|
|
}
|
|
WlrLayershell.namespace: "monowall"
|
|
exclusionMode: ExclusionMode.Ignore
|
|
aboveWindows: false
|
|
property var modelData
|
|
screen: modelData
|
|
color: "#111"
|
|
ClippingRectangle {
|
|
anchors.fill: parent
|
|
Image {
|
|
source: Quickshell.shellPath("wallpaper")
|
|
anchors.fill: parent
|
|
fillMode: Image.PreserveAspectCrop
|
|
}
|
|
radius: 40
|
|
PropertyAnimation on radius {
|
|
to: 14
|
|
duration: 300
|
|
}
|
|
property real intro_progress: 0
|
|
}
|
|
}
|
|
}
|