aboutsummaryrefslogtreecommitdiff
path: root/modules/system/quickshell/Background.qml
diff options
context:
space:
mode:
Diffstat (limited to 'modules/system/quickshell/Background.qml')
-rw-r--r--modules/system/quickshell/Background.qml21
1 files changed, 21 insertions, 0 deletions
diff --git a/modules/system/quickshell/Background.qml b/modules/system/quickshell/Background.qml
new file mode 100644
index 0000000..2bf9ae6
--- /dev/null
+++ b/modules/system/quickshell/Background.qml
@@ -0,0 +1,21 @@
+import Quickshell
+import Quickshell.Wayland
+import QtQuick
+
+PanelWindow {
+ WlrLayershell.layer: WlrLayer.Background
+ WlrLayershell.exclusiveZone: -1
+
+ anchors {
+ top: true
+ bottom: true
+ left: true
+ right: true
+ }
+
+ Image {
+ anchors.fill: parent
+ source: "./wallpaper.jpg"
+ fillMode: Image.PreserveAspectCrop
+ }
+}