Lots of uncommitted changes

This commit is contained in:
outfoxxed 2024-05-08 14:18:44 -07:00
parent daace49bfc
commit 497ca48ada
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
27 changed files with 909 additions and 134 deletions

View file

@ -6,18 +6,17 @@ Item {
Item {
anchors.centerIn: parent
scale: 2
Text {
id: timeText
anchors {
bottom: entryBox.top
bottomMargin: 50
bottomMargin: 100
horizontalCenter: parent.horizontalCenter
}
font {
pointSize: 60
pointSize: 120
hintingPreference: Font.PreferFullHinting
family: "Noto Sans"
}
@ -34,13 +33,11 @@ Item {
Text {
anchors {
top: timeText.bottom
topMargin: -10
topMargin: -20
horizontalCenter: parent.horizontalCenter
}
font {
pointSize: 20
}
font.pointSize: 40
color: "#50ffffff"
text: "Locked"
@ -49,7 +46,8 @@ Item {
TextField {
id: entryBox
anchors.centerIn: parent
width: 300
width: 600
font.pointSize: 24
enabled: context.status != AuthContext.Status.Authenticating
focus: true
@ -86,11 +84,12 @@ Item {
Text {
id: status
color: "white"
font.pointSize: 24
anchors {
horizontalCenter: entryBox.horizontalCenter
top: entryBox.bottom
topMargin: 20
topMargin: 40
}
text: {

View file

@ -1,3 +1,5 @@
//@ pragma NativeTextRendering
import QtQuick
import Quickshell
import Quickshell.Wayland

View file

@ -1,5 +1,6 @@
import QtQuick
import Quickshell
import ".."
ShellRoot {
AuthContext {
@ -8,10 +9,30 @@ ShellRoot {
}
FloatingWindow {
color: "#303030"
BackgroundImage {
anchors.fill: parent
screen: Quickshell.screens.filter(s => s.name == "eDP-1")[0]
}
Lockscreen {
anchors.fill: parent
anchors {
left: parent.left
top: parent.top
bottom: parent.bottom
right: parent.horizontalCenter
}
context: authContext
}
Lockscreen {
anchors {
left: parent.horizontalCenter
top: parent.top
bottom: parent.bottom
right: parent.right
}
context: authContext
}
}