From e15350240162338e854ec0b552f4ee6813dedcff Mon Sep 17 00:00:00 2001 From: Nathan Date: Thu, 9 Apr 2026 19:01:07 -0500 Subject: [PATCH] test --- config/aurora-greeter/modules/Lock.qml | 26 ++++++++-------- config/aurora-greeter/modules/Settings.qml | 35 ---------------------- 2 files changed, 13 insertions(+), 48 deletions(-) diff --git a/config/aurora-greeter/modules/Lock.qml b/config/aurora-greeter/modules/Lock.qml index ae2141e..096fbe3 100644 --- a/config/aurora-greeter/modules/Lock.qml +++ b/config/aurora-greeter/modules/Lock.qml @@ -14,40 +14,40 @@ ClippingWrapperRectangle { anchors.fill: parent radius: 10 - color: "black" - //color: Settings.special.background + //color: "black" + color: Settings.special.background ColumnLayout { anchors.fill: parent Text { id: error text: "" - color: "red" - //color: Settings.colors.color13 + //color: "red" + color: Settings.colors.color13 visible: false } Text { text: "User" - color: "white" - //color: Settings.special.foreground + //color: "white" + color: Settings.special.foreground } TextInput { id: username text: "guest" - color: "white" - //color: Settings.special.foreground + //color: "white" + color: Settings.special.foreground } Text { text: "Password" - color: "white" - //color: Settings.special.foreground + //color: "white" + color: Settings.special.foreground } TextInput { id: password text: "test" echoMode: TextInput.Password - color: "white" - //color: Settings.special.foreground + //color: "white" + color: Settings.special.foreground } Button { @@ -75,7 +75,7 @@ ClippingWrapperRectangle { Greetd.readyToLaunch.connect(() => { console.log("readyToLaunch") - Greetd.launch([ "Hyprland" ]) + Greetd.launch([ "start-hyprland" ]) }) console.log("createSession") Greetd.createSession(username.text) diff --git a/config/aurora-greeter/modules/Settings.qml b/config/aurora-greeter/modules/Settings.qml index 5d4109e..e8dc789 100644 --- a/config/aurora-greeter/modules/Settings.qml +++ b/config/aurora-greeter/modules/Settings.qml @@ -12,44 +12,9 @@ import Quickshell.Hyprland Singleton { - - property bool launcherOpen: false - - property string colorsDir: s_json.colorsDir - property string wallpaperDir: s_json.wallpaperDir - - property string settingsDir: "/home/" + Quickshell.env("USER") + "/.config/aurora" - onSettingsDirChanged: reload() - - function reload() { - settings.reload() - root.wallpaperDir = Qt.binding(() => s_json.wallpaperDir) - root.colorsDir = Qt.binding(() => s_json.colorsDir) - root.wallpaper = Qt.binding(() => c_json.wallpaper) - root.colors = Qt.binding(() => c_json.colors) - } - id: root - FileView { - - id: settings - - path: root.settingsDir + "/settings.json" - - watchChanges: true - - onFileChanged: reload() - - JsonAdapter { - id: s_json - property string wallpaperDir - - property string colorsDir - } - } - property string wallpaper: c_json.wallpaper property string alpha: Math.round(parseInt(c_json.alpha, 10) * 0xFF / 100).toString(16)