import { Gdk, Gtk } from "ags/gtk4"; import { execAsync } from "ags/process"; import { createPoll } from "ags/time"; import GLib from "gi://GLib"; export const Header = () => { const { VERTICAL } = Gtk.Orientation; const { CENTER, START, END } = Gtk.Align; const time = createPoll( "", 1000, () => GLib.DateTime.new_now_local().format("%a %b %d - %I:%M:%S %p")!, ); return ( ); };