Skip to content

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

refactor: renamed GetUserConfigCommand to ReadUserConfigCommand

Lars41e5667bf4a8
diff --git a/LarsWM.Core/Startup.cs b/LarsWM.Core/Startup.cs
index 24e9306e..8b7bb3c9 100644
--- a/LarsWM.Core/Startup.cs
+++ b/LarsWM.Core/Startup.cs
@@ -76,8 +76,7 @@ namespace LarsWM.Core
private void PopulateState()
{
// Read user config file and set its values in state.
- // TODO: Rename to ReadUserConfigCommand
- _bus.Invoke(new GetUserConfigCommand());
+ _bus.Invoke(new ReadUserConfigCommand());
// Create a Monitor and consequently a Workspace for each detected Screen.
foreach (var screen in Screen.AllScreens)
diff --git a/LarsWM.Core/UserConfigs/Commands/GetUserConfigCommand.cs b/LarsWM.Core/UserConfigs/Commands/ReadUserConfigCommand.cs
similarity index 76%
rename from LarsWM.Core/UserConfigs/Commands/GetUserConfigCommand.cs
rename to LarsWM.Core/UserConfigs/Commands/ReadUserConfigCommand.cs
index 3c1ac5d1..18328a2d 100644
--- a/LarsWM.Core/UserConfigs/Commands/GetUserConfigCommand.cs
+++ b/LarsWM.Core/UserConfigs/Commands/ReadUserConfigCommand.cs
@@ -5,7 +5,7 @@ using System.Text;
namespace LarsWM.Core.UserConfigs.Commands
{
- public class GetUserConfigCommand : Command
+ public class ReadUserConfigCommand : Command
{
}
}