GlazeWM is a tiling window manager for macOS and Windows inspired by i3wm.
feat(boot): add app to system tray on startup
Lars Bergerf5651de68c86
diff --git a/GlazeWM.Bootstrapper/Startup.cs b/GlazeWM.Bootstrapper/Startup.csindex 1722c0c6..02b5df04 100644--- a/GlazeWM.Bootstrapper/Startup.cs+++ b/GlazeWM.Bootstrapper/Startup.cs@@ -26,6 +26,7 @@ namespace GlazeWM.Bootstrapperprivate WindowService _windowService;private BarService _barService;private WorkspaceService _workspaceService;+ private SystemTrayService _systemTrayService;public Startup(Bus bus,@@ -34,7 +35,8 @@ namespace GlazeWM.BootstrapperWindowEventService windowEventService,WindowService windowService,BarService barService,- WorkspaceService workspaceService+ WorkspaceService workspaceService,+ SystemTrayService systemTrayService){_bus = bus;@@ -44,6 +46,7 @@ namespace GlazeWM.Bootstrapper_windowService = windowService;_barService = barService;_workspaceService = workspaceService;+ _systemTrayService = systemTrayService;}public void Init()@@ -60,6 +63,8 @@ namespace GlazeWM.Bootstrapper// Listen for window events (eg. close, focus)._windowEventService.Start();++ _systemTrayService.AddToSystemTray("icon.ico");}/// <summary>