diff --git a/modules/gcal/display.go b/modules/gcal/display.go index 81aff3f79..57e7b63d0 100644 --- a/modules/gcal/display.go +++ b/modules/gcal/display.go @@ -48,7 +48,7 @@ func (widget *Widget) content() (string, string, bool) { } for _, calEvent := range calEvents { - timestamp := fmt.Sprintf("[%s]%s", widget.descriptionColor(calEvent), calEvent.Timestamp()) + timestamp := fmt.Sprintf("[%s]%s", widget.eventTimeColor(calEvent), calEvent.Timestamp()) if calEvent.AllDay() { timestamp = "" } @@ -116,6 +116,10 @@ func (widget *Widget) descriptionColor(calEvent *CalEvent) string { return widget.settings.colors.description } +func (widget *Widget) eventTimeColor(calEvent *CalEvent) string { + return widget.settings.colors.eventTime +} + func (widget *Widget) eventSummary(calEvent *CalEvent, conflict bool) string { summary := calEvent.event.Summary