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
|
||||
Rectangle {
|
||||
anchors.fill: parent
|
||||
color: "transparent"
|
||||
//visible: primaryScreen
|
||||
color: "#00000000"
|
||||
//color: "#e6000000"
|
||||
// ^ This matches hyprlock but it looks kinda bad :<
|
||||
visible: primaryScreen
|
||||
|
||||
// Within that bg, we have a login box with everything in it
|
||||
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