summaryrefslogtreecommitdiff
path: root/.config/quickshell/Modules/Bar.qml
blob: ad8b8857f2e1f8ba6b9e3d41dbd1fdcf48298888 (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
34
35
36
37
38
39
40
41
42
43
44
45
import Quickshell
import QtQuick

Variants {
	model: Quickshell.screens;

	delegate: Component {
		PanelWindow {
			id: root

			required property var modelData
			screen: modelData

			property string fontFamily: "FiraCode Nerd Font"
			property int fontSize: 14

			anchors {
				top: true
				left: true
				right: true
			}

			implicitHeight: 36 + 8

			color: "transparent"

			Rectangle {
				anchors {
					fill: parent
					topMargin: 8
					leftMargin: 8
					rightMargin: 8
				}
				implicitHeight: 36
				color: "transparent"

				BarWorkspaces {}

				BarMusic {}

				BarStatus {}
			}
		}
	}
}