[AGS] Redo basic setup
This commit is contained in:
23
config/astal/components/bar/ui/Bar.tsx
Normal file
23
config/astal/components/bar/ui/Bar.tsx
Normal file
@@ -0,0 +1,23 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user