From c41493373af18bd1c7c9b25882c93c1841110baa Mon Sep 17 00:00:00 2001 From: Aylur Date: Thu, 7 Nov 2024 01:27:21 +0100 Subject: example: notifications --- examples/js/notifications/app.ts | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 examples/js/notifications/app.ts (limited to 'examples/js/notifications/app.ts') diff --git a/examples/js/notifications/app.ts b/examples/js/notifications/app.ts new file mode 100644 index 0000000..ed53292 --- /dev/null +++ b/examples/js/notifications/app.ts @@ -0,0 +1,9 @@ +import { App } from "astal/gtk3" +import style from "./style.scss" +import NotificationPopups from "./notifications/NotificationPopups" + +App.start({ + instanceName: "notifications", + css: style, + main: () => App.get_monitors().map(NotificationPopups), +}) -- cgit v1.2.3