24 lines
641 B
TypeScript
24 lines
641 B
TypeScript
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;
|