Skip to content

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

feat(domain): add less biased default values to bar configs

Lars Berger8cac7f889bbf
diff --git a/GlazeWM.Domain/UserConfigs/BarComponentConfig.cs b/GlazeWM.Domain/UserConfigs/BarComponentConfig.cs
index 5fb798c4..171a1efc 100644
--- a/GlazeWM.Domain/UserConfigs/BarComponentConfig.cs
+++ b/GlazeWM.Domain/UserConfigs/BarComponentConfig.cs
@@ -7,7 +7,7 @@ namespace GlazeWM.Domain.UserConfigs
[Required]
public string Type { get; set; }
- public string Margin { get; set; } = "0 10 0 0";
+ public string Margin { get; set; } = "0";
/// <summary>
/// Fallback to bar background config if unset.
diff --git a/GlazeWM.Domain/UserConfigs/BarConfig.cs b/GlazeWM.Domain/UserConfigs/BarConfig.cs
index 0c1ba675..971f938d 100644
--- a/GlazeWM.Domain/UserConfigs/BarConfig.cs
+++ b/GlazeWM.Domain/UserConfigs/BarConfig.cs
@@ -5,17 +5,17 @@ namespace GlazeWM.Domain.UserConfigs
{
public class BarConfig
{
- public uint Height { get; set; } = 25;
+ public uint Height { get; set; } = 30;
- public double Opacity { get; set; } = 0.9;
+ public double Opacity { get; set; } = 1.0;
- public string Background { get; set; } = "#101010";
+ public string Background { get; set; } = "black";
public string Foreground { get; set; } = "white";
public string FontFamily { get; set; } = "Segoe UI";
- public string FontSize { get; set; } = "12";
+ public string FontSize { get; set; } = "13";
public string BorderColor { get; set; } = "blue";
@@ -29,7 +29,7 @@ namespace GlazeWM.Domain.UserConfigs
/// <summary>
/// Padding in pixels.
/// </summary>
- public string Padding { get; set; } = "1 6 1 6";
+ public string Padding { get; set; } = "0";
[JsonProperty(ItemConverterType = typeof(BarComponentConfigConverter))]
public List<BarComponentConfig> ComponentsLeft { get; set; } = new List<BarComponentConfig>();