Update astal

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2025-06-30 00:39:34 +01:00
parent b8c43dc5d8
commit 68e6eddd22
15 changed files with 132 additions and 114 deletions

View File

@@ -1,21 +1,22 @@
import { App, Astal, Gtk, Gdk } from "astal/gtk3";
import { Astal, Gtk, Gdk } from "ags/gtk3";
import app from "ags/gtk3/app";
import Launcher from "./components/Launcher";
import Workspace from "./components/Workspaces";
import Hidden from "./components/Hidden";
import { getHyprlandMonitor } from "../lib";
export default (monitor: Gdk.Monitor) => (
<window
className="root"
visible
class="root"
gdkmonitor={monitor}
exclusivity={Astal.Exclusivity.IGNORE}
anchor={Astal.WindowAnchor.TOP | Astal.WindowAnchor.LEFT}
application={App}
application={app}
>
<Hidden>
<box className="widgets" hexpand halign={Gtk.Align.START}>
<box class="widgets" hexpand halign={Gtk.Align.START}>
<Launcher />
<Workspace monitor={getHyprlandMonitor(monitor)!} />
<Workspace gdkmonitor={monitor} />
</box>
</Hidden>
</window>