import { App, Astal, Gtk, Gdk } from "astal/gtk3"; import { exec, Variable } from "astal"; const agenda = exec(["gcalcli", "agenda", "--tsv", "--details=end"]); export default function Agenda(gdkmonitor: Gdk.Monitor) { agenda.split("\n").map(console.log); return ( {agenda} ); }