feat: ags

This commit is contained in:
2026-08-19 21:41:31 +03:00
committed by Sweetbread
parent d07853a8d1
commit 122ab982e6
21 changed files with 357 additions and 1214 deletions
@@ -0,0 +1,12 @@
import { Variable, GLib } from "astal"
export default function Time({ format = "%H:%M - %A %e." }) {
const time = Variable<string>("").poll(1000, () =>
GLib.DateTime.new_now_local().format(format)!)
return <label
className="Time"
onDestroy={() => time.drop()}
label={time()}
/>
}