commit
Update Main.qml
diff --git a/sddm/clockwork/Main.qml b/sddm/clockwork/Main.qml
index 40ba122..8e6dc7b 100644
--- a/sddm/clockwork/Main.qml
+++ b/sddm/clockwork/Main.qml
@@ -31,7 +31,6 @@ Rectangle {
var v = config[key]
return (v === undefined || v === null || v === "") ? fallback : String(v)
}
- readonly property bool useVideo: cfg("useVideo", "true") === "true"
readonly property real dim: parseFloat(cfg("dim", "0.25"))
FontLoader { id: mono; source: "fonts/JetBrainsMonoNerdFontMono-Regular.ttf" }
@@ -69,7 +68,7 @@ Rectangle {
readonly property string userLabel: users.length ? users[userIndex].real : userModel.lastUser
readonly property string sessionName: sessions.length ? sessions[sessionIndex] : "Session"
- // ---------- Background: still underneath, video on top ----------
+ // ---------- Background ----------
Item {
id: background
anchors.fill: parent
@@ -80,15 +79,6 @@ Rectangle {
fillMode: Image.PreserveAspectCrop
asynchronous: true
}
- Video {
- anchors.fill: parent
- visible: root.useVideo
- source: root.useVideo ? Qt.resolvedUrl(root.cfg("video", "background.webm")) : ""
- fillMode: VideoOutput.PreserveAspectCrop
- loops: MediaPlayer.Infinite
- muted: true
- autoPlay: true
- }
Rectangle { anchors.fill: parent; color: c.base; opacity: root.dim }
}