-
Notifications
You must be signed in to change notification settings - Fork 0
/
Main.qml
47 lines (39 loc) · 803 Bytes
/
Main.qml
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
46
import QtQuick 2.15
import QtQuick.Window 2.15
import QtQuick.Controls 2.15
import "Components"
Item {
id: root
height: Screen.height
width: Screen.width
Rectangle {
id: background
anchors.fill: parent
z: 0
color: config.base
}
Image {
id: backgroundImage
anchors.fill: parent
fillMode: Image.PreserveAspectCrop
visible: true
source: "/home/ben/.cache/hyde/wall.set" // Path to your wallpaper
asynchronous: false
cache: true
mipmap: true
clip: true
}
Item {
id: mainPanel
z: 3
anchors.fill: parent // Fill the parent without margins
Clock {
id: time
visible: config.ClockEnabled == "true" ? true : false
}
LoginPanel {
id: loginPanel
anchors.fill: parent
}
}
}