ags,hypr: initial code!

This commit is contained in:
retrozinndev
2025-01-22 13:45:59 -03:00
parent 5defceb05e
commit 37687b3e62
84 changed files with 368 additions and 2621 deletions
+17
View File
@@ -0,0 +1,17 @@
import { Box, Label } from "astal/gtk3/widget";
import AstalTray from "gi://AstalTray"
const astalTray = AstalTray.get_default();
let items: Array<AstalTray.TrayItem> = astalTray.items;
const handlerId = astalTray.connect("item-added", () => {
items = astalTray.items;
console.log(astalTray.items);
}) as number;
export function Tray() {
return (
<Box className={"tray"}>
</Box>
);
}