summaryrefslogtreecommitdiff
path: root/modules/bar/Bar.qml
blob: 8860e47fec0b74d4a0dde57d8fd7a3b2f4d9c815 (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
import "root:/widgets"
import "root:/config"
import Quickshell
import QtQuick

Variants {
    model: Quickshell.screens

    StyledWindow {
        id: win

        required property ShellScreen modelData

        screen: modelData
        name: "bar"

        implicitWidth: content.implicitWidth
        exclusiveZone: content.implicitWidth

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

        Content {
            id: content

            screen: win.modelData
        }
    }
}