Add new calendar and deprecate old

This commit is contained in:
Svilen Markov
2025-02-09 17:47:20 +00:00
parent 24a6107171
commit 306fb3cb33
10 changed files with 665 additions and 99 deletions
+2
View File
@@ -23,6 +23,8 @@ func newWidget(widgetType string) (widget, error) {
switch widgetType {
case "calendar":
w = &calendarWidget{}
case "calendar-legacy":
w = &oldCalendarWidget{}
case "clock":
w = &clockWidget{}
case "weather":