fix(ags): quit app after greetd login
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
f3e06554e4
commit
7d09666b23
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
import { idle, readFile } from 'astal';
|
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';
|
import AstalGreet from 'gi://AstalGreet';
|
||||||
|
|
||||||
|
@ -66,6 +66,7 @@ const password = (
|
||||||
(_, res) => {
|
(_, res) => {
|
||||||
try {
|
try {
|
||||||
AstalGreet.login_finish(res);
|
AstalGreet.login_finish(res);
|
||||||
|
App.quit();
|
||||||
}
|
}
|
||||||
catch (error) {
|
catch (error) {
|
||||||
response.label = JSON.stringify(error);
|
response.label = JSON.stringify(error);
|
||||||
|
|
Loading…
Reference in a new issue