Fixups, add bg
This commit is contained in:
parent
05cc785b60
commit
d89d86a70b
@ -56,11 +56,25 @@ Rectangle {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Background {
|
||||||
|
anchors.fill: parent
|
||||||
|
source: Qt.resolvedUrl(config.background)
|
||||||
|
fillMode: Image.PreserveAspectCrop
|
||||||
|
onStatusChanged: {
|
||||||
|
var defaultBackground = Qt.resolvedUrl(config.defaultBackground)
|
||||||
|
if (status == Image.Error && source != defaultBackground) {
|
||||||
|
source = defaultBackground
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Background
|
// Background
|
||||||
Rectangle {
|
Rectangle {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
color: "transparent"
|
color: "#00000000"
|
||||||
//visible: primaryScreen
|
//color: "#e6000000"
|
||||||
|
// ^ This matches hyprlock but it looks kinda bad :<
|
||||||
|
visible: primaryScreen
|
||||||
|
|
||||||
// Within that bg, we have a login box with everything in it
|
// Within that bg, we have a login box with everything in it
|
||||||
Rectangle {
|
Rectangle {
|
||||||
|
BIN
theme/background.jpg
Normal file
BIN
theme/background.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 529 KiB |
Loading…
x
Reference in New Issue
Block a user