Skip to content

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

feat(domain): set default value for time formatting of clock component

Lars Berger06967c2663bd
diff --git a/GlazeWM.Domain/UserConfigs/ClockComponentConfig.cs b/GlazeWM.Domain/UserConfigs/ClockComponentConfig.cs
index d8b05c1d..5b4f5dc6 100644
--- a/GlazeWM.Domain/UserConfigs/ClockComponentConfig.cs
+++ b/GlazeWM.Domain/UserConfigs/ClockComponentConfig.cs
@@ -2,6 +2,9 @@ namespace GlazeWM.Domain.UserConfigs
{
public class ClockComponentConfig : BarComponentConfig
{
- public new string TimeFormatting { get; set; }
+ /// <summary>
+ /// How to format the current time/date via `DateTime.ToString`.
+ /// </summary>
+ public string TimeFormatting { get; set; } = "hh:mm tt ddd MMM d";
}
}