update widgets, add label, color, description, change top two widgets

This commit is contained in:
sawka
2024-06-20 13:03:50 -07:00
parent d59e0f5959
commit 68ca79fcbc
5 changed files with 97 additions and 25 deletions
+5 -2
View File
@@ -12,8 +12,11 @@ const settingsFile = "settings.json"
var settingsAbsPath = filepath.Join(configDirAbsPath, settingsFile)
type WidgetsConfigType struct {
Icon string `json:"icon"`
BlockDef wstore.BlockDef `json:"blockdef"`
Icon string `json:"icon"`
Color string `json:"color,omitempty"`
Label string `json:"label,omitempty"`
Description string `json:"description,omitempty"`
BlockDef wstore.BlockDef `json:"blockdef"`
}
type SettingsConfigType struct {