From 7d09666b23adcb16a0fe78df7833e6d74503d242 Mon Sep 17 00:00:00 2001 From: matt1432 Date: Thu, 14 Nov 2024 11:13:57 -0500 Subject: [PATCH] fix(ags): quit app after greetd login --- nixosModules/ags/config/widgets/greeter/main.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixosModules/ags/config/widgets/greeter/main.tsx b/nixosModules/ags/config/widgets/greeter/main.tsx index 48d71574..fbb5af64 100644 --- a/nixosModules/ags/config/widgets/greeter/main.tsx +++ b/nixosModules/ags/config/widgets/greeter/main.tsx @@ -1,5 +1,5 @@ import { idle, readFile } from 'astal'; -import { Astal, Gtk, Widget } from 'astal/gtk3'; +import { App, Astal, Gtk, Widget } from 'astal/gtk3'; import AstalGreet from 'gi://AstalGreet'; @@ -66,6 +66,7 @@ const password = ( (_, res) => { try { AstalGreet.login_finish(res); + App.quit(); } catch (error) { response.label = JSON.stringify(error);