fix(ags): quit app after greetd login
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-11-14 11:13:57 -05:00
parent f3e06554e4
commit 7d09666b23

View file

@ -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);