import { createQuickActionsMenu } from "./QuickActions";
import { GLib } from "astal";
import { Astal, Gdk, Gtk } from "astal/gtk3";

const Bar = (gdkmonitor: Gdk.Monitor) => {

    return (
        <window gdkmonitor={gdkmonitor}
            cssClasses={["Bar"]}>
            <box orientation={Gtk.Orientation.HORIZONTAL} spacing={10}>
                <box>
                </box>
                <label>{windowTitle}</label>
                <box>
                    <tray />
                    <button icon="quickaction" menu={quickActionMenu} />
                </box>
            </box>
        </window>
    );
}

export default Bar;
