diff options
author | Aylur <[email protected]> | 2025-01-16 18:18:36 +0100 |
---|---|---|
committer | Aylur <[email protected]> | 2025-01-16 18:18:41 +0100 |
commit | 8e00ed94760379ccba1ca04c8bcd069afaf30484 (patch) | |
tree | 03bd4fca2234db4ce6d4f2bdec7bca96b7e7f7ac /examples/gtk3/js/osd/app.ts | |
parent | 9e8634d892c559c5b44565a68bf35b13cbcb5572 (diff) |
add: OSD ts example #195
Diffstat (limited to 'examples/gtk3/js/osd/app.ts')
-rw-r--r-- | examples/gtk3/js/osd/app.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/gtk3/js/osd/app.ts b/examples/gtk3/js/osd/app.ts new file mode 100644 index 0000000..50e314e --- /dev/null +++ b/examples/gtk3/js/osd/app.ts @@ -0,0 +1,11 @@ +import { App } from "astal/gtk3" +import style from "./style.scss" +import OSD from "./osd/OSD" + +App.start({ + instanceName: "osd-example", + css: style, + main() { + App.get_monitors().map(OSD) + }, +}) |