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,8 +1,8 @@
import { Gdk } from "astal/gtk3";
import { Gdk } from "ags/gtk3";
import Hyprland from "gi://AstalHyprland";
export const range = (length: number, start = 1) => {
return Array.from({ length }, (n, i) => i + start);
return Array.from({ length }, (_, i) => i + start);
};
export const getHyprlandMonitor = (gdkmonitor: Gdk.Monitor) => {