Skip to content

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

refactor(boot,domain): move and rename sample user config file

Lars Berger1ea6405b3a18
diff --git a/GlazeWM.Bootstrapper/GlazeWM.Bootstrapper.csproj b/GlazeWM.Bootstrapper/GlazeWM.Bootstrapper.csproj
index c83f580d..0f2a7121 100644
--- a/GlazeWM.Bootstrapper/GlazeWM.Bootstrapper.csproj
+++ b/GlazeWM.Bootstrapper/GlazeWM.Bootstrapper.csproj
@@ -17,5 +17,8 @@
<None Update="icon.ico">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
+ <None Update="sample-config.yaml">
+ <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+ </None>
</ItemGroup>
</Project>
diff --git a/GlazeWM.Domain/UserConfigs/SampleUserConfig.yaml b/GlazeWM.Bootstrapper/sample-config.yaml
similarity index 100%
rename from GlazeWM.Domain/UserConfigs/SampleUserConfig.yaml
rename to GlazeWM.Bootstrapper/sample-config.yaml
diff --git a/GlazeWM.Domain/GlazeWM.Domain.csproj b/GlazeWM.Domain/GlazeWM.Domain.csproj
index 8e85ad7c..8b0563a6 100644
--- a/GlazeWM.Domain/GlazeWM.Domain.csproj
+++ b/GlazeWM.Domain/GlazeWM.Domain.csproj
@@ -27,11 +27,4 @@
<ItemGroup>
<ProjectReference Include="..\GlazeWM.Infrastructure\GlazeWM.Infrastructure.csproj" />
</ItemGroup>
-
- <ItemGroup>
- <None Update="UserConfigs\SampleUserConfig.yaml">
- <CopyToOutputDirectory>Always</CopyToOutputDirectory>
- </None>
- </ItemGroup>
-
</Project>
diff --git a/GlazeWM.Domain/UserConfigs/UserConfigService.cs b/GlazeWM.Domain/UserConfigs/UserConfigService.cs
index 55070a5a..840be99f 100644
--- a/GlazeWM.Domain/UserConfigs/UserConfigService.cs
+++ b/GlazeWM.Domain/UserConfigs/UserConfigService.cs
@@ -21,7 +21,7 @@ namespace GlazeWM.Domain.UserConfigs
/// </summary>
public string SampleUserConfigPath = Path.Combine(
Directory.GetCurrentDirectory(),
- "../GlazeWM.Domain/UserConfigs/SampleUserConfig.yaml"
+ "./sample-config.yaml"
);
public readonly List<WindowRuleConfig> DefaultWindowRules = GetDefaultWindowRules();