summaryrefslogtreecommitdiff
path: root/core/gjs/src
diff options
context:
space:
mode:
authorAylur <[email protected]>2024-09-07 18:00:17 +0200
committerAylur <[email protected]>2024-09-07 18:00:17 +0200
commite06ae737ef0a29e98363d6453ae3049aed164a64 (patch)
treec41bd26dcf2411400cdc8c6601f22af6ca25b1f6 /core/gjs/src
parent3c68f1eda2d0ad89e2c55560c25947615296168f (diff)
feat: App monitor signals
Diffstat (limited to 'core/gjs/src')
-rw-r--r--core/gjs/src/application.ts6
1 files changed, 2 insertions, 4 deletions
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<any> {
@@ -100,6 +100,4 @@ class AstalJS extends Astal.Application {
this.runAsync([])
}
-}
-
-export default new AstalJS()
+})