diff options
| author | Linnea Gräf <nea@nea.moe> | 2025-04-13 19:42:47 +0200 |
|---|---|---|
| committer | Linnea Gräf <nea@nea.moe> | 2025-04-13 19:42:47 +0200 |
| commit | 0d3b6a3f698853cbbf7d0ebf866eca8bccd196fb (patch) | |
| tree | e756da2ef87a13a269da71fac1cabd966423c2e9 /app.ts | |
| download | ags-0d3b6a3f698853cbbf7d0ebf866eca8bccd196fb.tar.gz ags-0d3b6a3f698853cbbf7d0ebf866eca8bccd196fb.tar.bz2 ags-0d3b6a3f698853cbbf7d0ebf866eca8bccd196fb.zip | |
Diffstat (limited to 'app.ts')
| -rw-r--r-- | app.ts | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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]) + }, +}) |
