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
+14
View File
@@ -0,0 +1,14 @@
import { Box, Button } from "astal/gtk3/widget";
import { GLib, Variable } from "astal";
const dateTimeFormat = "%A %d, %H:%M"
const time = new Variable<string>("").poll(600, () =>
GLib.DateTime.new_now_local().format(dateTimeFormat)!);
export function Clock(): JSX.Element {
return (
<Box className={"clock"}>
<Button label={time()} />
</Box>
)
}