diff options
author | Aylur <[email protected]> | 2024-05-25 14:44:50 +0200 |
---|---|---|
committer | Aylur <[email protected]> | 2024-05-25 14:44:50 +0200 |
commit | 58fa1ab9be7ee8fd4a8e96865121a54d613978cc (patch) | |
tree | 56f01ba49fd2929690a16ac05a4af8f763e6b30b /js/gjs/astal.ts | |
parent | a7e25a4a5fcf4de89fe5a149a9aaf50a92be7af1 (diff) |
separate node and gjs into its own package
Diffstat (limited to 'js/gjs/astal.ts')
-rw-r--r-- | js/gjs/astal.ts | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/js/gjs/astal.ts b/js/gjs/astal.ts deleted file mode 100644 index 0665498..0000000 --- a/js/gjs/astal.ts +++ /dev/null @@ -1,37 +0,0 @@ -import Astal from "gi://Astal" -import Time from "../src/time.js" -import Process from "../src/process.js" -import * as variable from "../src/variable.js" - -const { interval, timeout, idle } = Time(Astal.Time) -const { subprocess, exec, execAsync } = Process({ - defaultOut: print, - defaultErr: console.error, - exec: Astal.Process.exec, - execv: Astal.Process.execv, - execAsync: Astal.Process.exec_async, - execAsyncv: Astal.Process.exec_asyncv, - subprocess: Astal.Process.subprocess, - subprocessv: Astal.Process.subprocessv, -}) - -variable.config.defaultErrHandler = print -variable.config.execAsync = execAsync -variable.config.subprocess = subprocess -variable.config.interval = interval -variable.config.VariableBase = Astal.VariableBase -Object.freeze(variable.config) - -export { subprocess, exec, execAsync } -export { interval, timeout, idle } -export { bind } from "../src/binding.js" -export { Variable } from "../src/variable.js" -export * as Widget from "./widgets.js" -export { App } from "./application.js" - -// for convinience -export { default as GLib } from "gi://GLib?version=2.0" -export { default as Gtk } from "gi://Gtk?version=3.0" -export { default as Gio } from "gi://Gio?version=2.0" -export { default as GObject } from "gi://GObject?version=2.0" -export { default as Astal } from "gi://Astal?version=0.1" |