ags: new window management system, adjustments, use adwaita sans

This commit is contained in:
retrozinndev
2025-04-01 10:47:40 -03:00
parent a555e89dc0
commit 53929db052
27 changed files with 505 additions and 344 deletions
+4 -4
View File
@@ -20,15 +20,15 @@ export function setOSDMode(newMode: OSDModes): void {
osdMode.set(newMode);
}
export const OSD: Widget.Window = new Widget.Window({
export const OSD = (mon: number) => new Widget.Window({
namespace: "osd",
layer: Astal.Layer.OVERLAY,
anchor: Astal.WindowAnchor.BOTTOM,
canFocus: false,
margin_bottom: 80,
monitor: 0,
visible: false,
marginBottom: 80,
focusOnClick: false,
clickThrough: true,
monitor: mon,
child: new Widget.Box({
className: "osd",
children: [