diff options
author | Aylur <[email protected]> | 2024-09-07 18:00:17 +0200 |
---|---|---|
committer | Aylur <[email protected]> | 2024-09-07 18:00:17 +0200 |
commit | e06ae737ef0a29e98363d6453ae3049aed164a64 (patch) | |
tree | c41bd26dcf2411400cdc8c6601f22af6ca25b1f6 /core/gjs | |
parent | 3c68f1eda2d0ad89e2c55560c25947615296168f (diff) |
feat: App monitor signals
Diffstat (limited to 'core/gjs')
-rw-r--r-- | core/gjs/src/application.ts | 6 |
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() +}) |