summaryrefslogtreecommitdiff
path: root/examples/js/notifications/app.ts
diff options
context:
space:
mode:
authorAylur <[email protected]>2024-11-07 01:27:21 +0100
committerAylur <[email protected]>2024-11-07 00:28:39 +0000
commitc41493373af18bd1c7c9b25882c93c1841110baa (patch)
treec6983eb5bf1d448cc094c10a897bc2e043f0cb1e /examples/js/notifications/app.ts
parent84c02e54d3bd25958dafa67a7420cf29b3375de1 (diff)
example: notifications
Diffstat (limited to 'examples/js/notifications/app.ts')
-rw-r--r--examples/js/notifications/app.ts9
1 files changed, 9 insertions, 0 deletions
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),
+})