From e06ae737ef0a29e98363d6453ae3049aed164a64 Mon Sep 17 00:00:00 2001 From: Aylur Date: Sat, 7 Sep 2024 18:00:17 +0200 Subject: feat: App monitor signals --- core/gjs/src/application.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'core/gjs/src') diff --git a/core/gjs/src/application.ts b/core/gjs/src/application.ts index 0ba247e..bf82cbe 100644 --- a/core/gjs/src/application.ts +++ b/core/gjs/src/application.ts @@ -22,7 +22,7 @@ type Config = Partial<{ import { setConsoleLogDomain } from "console" import { exit, programArgs } from "system" -class AstalJS extends Astal.Application { +export default new (class AstalJS extends Astal.Application { static { GObject.registerClass(this) } eval(body: string): Promise { @@ -100,6 +100,4 @@ class AstalJS extends Astal.Application { this.runAsync([]) } -} - -export default new AstalJS() +}) -- cgit v1.2.3