💥 ags: fix startup issues (and with that, errors with focusedClient bar widget)
This commit is contained in:
+2
-12
@@ -1,22 +1,12 @@
|
||||
// get open windows / interact with windows(e.g.: close, open or toggle)
|
||||
|
||||
import { Widget } from "astal/gtk3";
|
||||
import { Bar } from "../window/Bar";
|
||||
import { OSD } from "../window/OSD";
|
||||
import { ControlCenter } from "../window/ControlCenter";
|
||||
//import { FloatingNotifications } from "../window/FloatingNotifications";
|
||||
import { getWindowsMap } from "../app";
|
||||
|
||||
export class Windows {
|
||||
private static inst: Windows = new Windows();
|
||||
|
||||
/* Windows List(js object):
|
||||
* add all windows here */
|
||||
private readonly windows = {
|
||||
"bar": Bar,
|
||||
"osd": OSD,
|
||||
"control-center": ControlCenter
|
||||
//"floating-notifications": FloatingNotifications
|
||||
};
|
||||
private readonly windows = getWindowsMap();
|
||||
|
||||
public static getDefault(): Windows {
|
||||
return Windows.inst;
|
||||
|
||||
Reference in New Issue
Block a user