GlazeWM is a tiling window manager for macOS and Windows inspired by i3wm.
feat: registered ReadUserConfigHandler as a command handler
Lars462a4f82a89c
diff --git a/LarsWM.Core/Program.cs b/LarsWM.Core/Program.csindex ef7c6968..12440595 100644--- a/LarsWM.Core/Program.cs+++ b/LarsWM.Core/Program.cs@@ -2,6 +2,7 @@using LarsWM.Core.Monitors;using LarsWM.Core.Monitors.CommandHandlers;using LarsWM.Core.Monitors.EventHandler;+using LarsWM.Core.UserConfigs.CommandHandlers;using Microsoft.Extensions.DependencyInjection;using System;using System.Diagnostics;@@ -28,6 +29,7 @@ namespace LarsWM.Corevar bus = ServiceProvider.GetRequiredService<IBus>();bus.RegisterCommandHandler<AddMonitorHandler>();+ bus.RegisterCommandHandler<ReadUserConfigHandler>();bus.RegisterEventHandler<MonitorAddedHandler>();var startup = ServiceProvider.GetRequiredService<Startup>();@@ -43,6 +45,7 @@ namespace LarsWM.CoreserviceCollection.AddSingleton<MonitorService>();serviceCollection.AddSingleton<AddMonitorHandler>();serviceCollection.AddSingleton<MonitorAddedHandler>();+ serviceCollection.AddSingleton<ReadUserConfigHandler>();serviceCollection.AddSingleton<Startup>();return serviceCollection;