Allow specifying state in weather location
This commit is contained in:
parent
ad06146784
commit
d8d6625478
4 changed files with 79 additions and 3 deletions
|
|
@ -12,6 +12,7 @@ import (
|
|||
type Weather struct {
|
||||
widgetBase `yaml:",inline"`
|
||||
Location string `yaml:"location"`
|
||||
ShowAreaName bool `yaml:"show-area-name"`
|
||||
HideLocation bool `yaml:"hide-location"`
|
||||
Units string `yaml:"units"`
|
||||
Place *feed.PlaceJson `yaml:"-"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue