summaryrefslogtreecommitdiff
path: root/modules/background/Background.qml
blob: 2dda9fb46f7bfbc4ee49e3d4911c15d3184239b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import "root:/widgets"
import Quickshell
import Quickshell.Wayland

Variants {
    model: Quickshell.screens

    Scope {
        id: scope

        required property ShellScreen modelData

        Border {
            screen: scope.modelData
        }

        StyledWindow {
            id: win

            screen: scope.modelData
            name: "background"
            exclusionMode: ExclusionMode.Ignore
            layer: WlrLayer.Background

            anchors.top: true
            anchors.bottom: true
            anchors.left: true
            anchors.right: true

            Wallpaper {}
        }
    }
}