summaryrefslogtreecommitdiff
path: root/app.ts
blob: 2f7cae35c1e2f9c1c49d725a70270f2bf1164515 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { App } from "astal/gtk4"

import style from "./style.scss"

import Bar from "./widget/bar/Bar"
import Notifications from "./widget/notifications/Notifications"

const windows = [
  Bar,
  Notifications,
];

App.start({
  css: style,
  main() {
    windows.forEach(window => App.get_monitors().map(window));
  },
});