-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathapp.ts
More file actions
27 lines (26 loc) · 764 Bytes
/
app.ts
File metadata and controls
27 lines (26 loc) · 764 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import { App } from "astal/gtk3";
import style from "./style.scss";
import NotificationPopups from "./notifications/NotificationPopups";
import OSD from "./osd/OSD";
import Bar from "./widget/Bar";
import Sysutils from "./widget/Sysutils";
import Dock from "./widget/Dock";
import PowerMenu from "./widget/PowerMenu";
import Applauncher from "./widget/Applauncher";
App.start({
css: style,
instanceName: "DistortedDesktop",
requestHandler(request, res) {
print(request);
res("ok");
},
main() {
App.get_monitors().map(NotificationPopups);
App.get_monitors().map(OSD);
App.get_monitors().map(Bar);
App.get_monitors().map(Sysutils);
App.get_monitors().map(Dock);
App.get_monitors().map(PowerMenu);
App.get_monitors().map(Applauncher);
},
});