summaryrefslogtreecommitdiff
path: root/examples/gtk3/js/notifications/app.ts
diff options
context:
space:
mode:
authorAylur <[email protected]>2025-01-16 17:37:00 +0100
committerAylur <[email protected]>2025-01-16 17:37:04 +0100
commit9e8634d892c559c5b44565a68bf35b13cbcb5572 (patch)
tree36a8b911e919959cdf64d3c64646f5066c6a2523 /examples/gtk3/js/notifications/app.ts
parentbc796ac226800c43e724e27f53f410c157acaffe (diff)
add: gtk3 ts popover example
closes #224 closes #157
Diffstat (limited to 'examples/gtk3/js/notifications/app.ts')
-rw-r--r--examples/gtk3/js/notifications/app.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/gtk3/js/notifications/app.ts b/examples/gtk3/js/notifications/app.ts
new file mode 100644
index 0000000..ed53292
--- /dev/null
+++ b/examples/gtk3/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),
+})