mirror of
https://github.com/glanceapp/glance.git
synced 2025-08-17 03:20:59 +02:00
Add a clock widget
It's a simple clock that shows the current time Signed-off-by: Yarden Shoham <git@yardenshoham.com>
This commit is contained in:
@ -19,6 +19,8 @@ func New(widgetType string) (Widget, error) {
|
||||
switch widgetType {
|
||||
case "calendar":
|
||||
return &Calendar{}, nil
|
||||
case "clock":
|
||||
return &Clock{}, nil
|
||||
case "weather":
|
||||
return &Weather{}, nil
|
||||
case "bookmarks":
|
||||
|
Reference in New Issue
Block a user