Skip to content

GlazeWM is a tiling window manager for macOS and Windows inspired by i3wm.

feat: registered AppState class as a service

Larsd2a3e97311f3
diff --git a/LarsWM.Core/Program.cs b/LarsWM.Core/Program.cs
index 8ac1e1e0..30a7979c 100644
--- a/LarsWM.Core/Program.cs
+++ b/LarsWM.Core/Program.cs
@@ -38,6 +38,7 @@ namespace LarsWM.Core
var serviceCollection = new ServiceCollection();
serviceCollection.AddSingleton<IBus, Bus>();
+ serviceCollection.AddSingleton<AppState>();
serviceCollection.AddSingleton<AddMonitorHandler>();
serviceCollection.AddSingleton<MonitorAddedHandler>();
serviceCollection.AddSingleton<Startup>();