import { App, Astal, Gtk, Gdk } from "astal/gtk4" import { GLib, Variable } from "astal" import { SysTray } from "./SysTray"; const user = Variable("") .poll(60000, ["bash", "-c", "whoami"]); const time = Variable("") .poll(1000, ["bash", "-c", "date +'%H:%M:%S'"]); const date = Variable("") .poll(60000, ["bash", "-c", "date +'%y-%m-%d'"]) const uptime = Variable("") .poll(60000, ["bash", "-c", "uptime | awk -F'( |,)+' '{print $4}'"]); export default function Bar(gdkmonitor: Gdk.Monitor) { const { TOP, LEFT, RIGHT } = Astal.WindowAnchor return ,