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:
parent
0bbb4573b2
commit
4a27ec3271
8 changed files with 62 additions and 0 deletions
|
|
@ -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":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue