summaryrefslogtreecommitdiff
path: root/app.ts
diff options
context:
space:
mode:
Diffstat (limited to 'app.ts')
-rw-r--r--app.ts12
1 files changed, 12 insertions, 0 deletions
diff --git a/app.ts b/app.ts
new file mode 100644
index 0000000..2e70ccf
--- /dev/null
+++ b/app.ts
@@ -0,0 +1,12 @@
+import { App } from "astal/gtk3"
+import style from "./style.scss"
+import Bar from "./widget/Bar"
+
+App.start({
+ css: style,
+ main() {
+ const monitors = App.get_monitors()
+ monitors.sort(it => it.geometry.x)
+ Bar(monitors[0])
+ },
+})