import { App, Astal, Gdk, Gtk } from "astal/gtk4";
import Hyprland from "./modules/Hyprland";
import Calendar from "./modules/Calendar";
import QuickView from "./modules/QuickView";
import SystemInfo from "./modules/SystemInfo";
import { CenterBox } from "astal/gtk4/widget";
const Bar = ( { gdkmonitor, name }: { gdkmonitor: Gdk.Monitor, name: string } ) => {
const { TOP, LEFT, RIGHT } = Astal.WindowAnchor;
return (
}
centerWidget={}
endWidget={
}
>
}
>
);
};
const cliHandler = (args: string[]): string => {
return "Not implemented";
};
const BarLauncher = ( monitor: Gdk.Monitor ) => {
const windowName = `bar-${monitor.get_connector()}`
const createBar = () => {
return
}
// Actually start the bar
createBar();
return windowName;
}
export default {
BarLauncher,
cliHandler,
};