summaryrefslogtreecommitdiff
path: root/app.ts
blob: 2e70ccf0bb2a0c1f378c3e0426a25e9a8e15924f (plain)
1
2
3
4
5
6
7
8
9
10
11
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])
    },
})