usable
This commit is contained in:
41
config/aurora-greeter/modules/Lock.qml
Normal file
41
config/aurora-greeter/modules/Lock.qml
Normal file
@@ -0,0 +1,41 @@
|
||||
import Quickshell // for PanelWindow
|
||||
import QtQuick // for Text
|
||||
import QtQuick.Shapes
|
||||
import QtQuick.Controls
|
||||
import QtQuick.Layouts
|
||||
import Quickshell.Io
|
||||
import Quickshell.Widgets
|
||||
import Quickshell.Wayland
|
||||
import Quickshell.Hyprland
|
||||
import Quickshell.Services.Greetd
|
||||
import Quickshell.Services.Pam
|
||||
|
||||
ClippingWrapperRectangle {
|
||||
|
||||
anchors.fill: parent
|
||||
radius: 10
|
||||
|
||||
color: Pywal.special.background
|
||||
|
||||
ColumnLayout {
|
||||
anchors.fill: parent
|
||||
Text {
|
||||
text: "User"
|
||||
}
|
||||
TextInput {
|
||||
text: "guest"
|
||||
}
|
||||
Text {
|
||||
text: "Password"
|
||||
}
|
||||
TextInput {
|
||||
text: "test"
|
||||
echoMode: TextInput.Password
|
||||
}
|
||||
|
||||
Button {
|
||||
text: "Login"
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
58
config/aurora-greeter/modules/Pywal.qml
Normal file
58
config/aurora-greeter/modules/Pywal.qml
Normal file
@@ -0,0 +1,58 @@
|
||||
pragma Singleton
|
||||
|
||||
import Quickshell
|
||||
import Quickshell.Io
|
||||
|
||||
Singleton {
|
||||
|
||||
property string wallpaper: json.wallpaper
|
||||
|
||||
property string alpha: json.alpha
|
||||
|
||||
property JsonObject special: json.special
|
||||
property JsonObject colors: json.colors
|
||||
|
||||
FileView {
|
||||
|
||||
path: "/home/nathan/.cache/wal/colors.json"
|
||||
|
||||
watchChanges: true
|
||||
|
||||
onFileChanged: reload()
|
||||
|
||||
JsonAdapter {
|
||||
id: json
|
||||
property string wallpaper: "/home/nathan/Pictures/Wallpaper/bluescape.jpg"
|
||||
|
||||
property string alpha: "100"
|
||||
|
||||
property JsonObject special: JsonObject {
|
||||
property string background: "transparent"
|
||||
property string foreground: "transparent"
|
||||
property string cursor: "transparent"
|
||||
}
|
||||
|
||||
property JsonObject colors: JsonObject {
|
||||
property string color0: "transparent"
|
||||
property string color1: "transparent"
|
||||
property string color2: "transparent"
|
||||
property string color3: "transparent"
|
||||
|
||||
property string color4: "transparent"
|
||||
property string color5: "transparent"
|
||||
property string color6: "transparent"
|
||||
property string color7: "transparent"
|
||||
|
||||
property string color8: "transparent"
|
||||
property string color9: "transparent"
|
||||
property string color10: "transparent"
|
||||
property string color11: "transparent"
|
||||
|
||||
property string color12: "transparent"
|
||||
property string color13: "transparent"
|
||||
property string color14: "transparent"
|
||||
property string color15: "transparent"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user