GlazeWM is a tiling window manager for macOS and Windows inspired by i3wm.
feat(domain): add hard-coded component configs to `BarConfig`
Lars Bergerbd64a373fc93
diff --git a/GlazeWM.Domain/UserConfigs/BarConfig.cs b/GlazeWM.Domain/UserConfigs/BarConfig.csindex 9ae7c912..2df0abea 100644--- a/GlazeWM.Domain/UserConfigs/BarConfig.cs+++ b/GlazeWM.Domain/UserConfigs/BarConfig.cs@@ -1,8 +1,30 @@+using System.Collections.Generic;+namespace GlazeWM.Domain.UserConfigs{public class BarConfig : CommonBarAttributes{public uint Height { get; set; } = 25;+public double Opacity { get; set; } = 0.9;++ public List<BarComponentConfig> ComponentsLeft = CreateMockComponentConfig();+ public List<BarComponentConfig> ComponentsCenter = new List<BarComponentConfig>();+ public List<BarComponentConfig> ComponentsRight = CreateMockComponentConfig();++ private static List<BarComponentConfig> CreateMockComponentConfig()+ {+ var sampleConfig1 = new WorkspacesComponentConfig()+ {+ Type = "workspaces",+ };++ var sampleConfig2 = new ClockComponentConfig()+ {+ Type = "clock",+ };++ return new List<BarComponentConfig> { sampleConfig1, sampleConfig2 };+ }}}