Allow using env variables in monitor and bookmarks widget URLs

This commit is contained in:
Svilen Markov
2024-12-07 16:40:09 +00:00
parent a1afdb0c63
commit 7f667e2d1c
2 changed files with 17 additions and 17 deletions

View File

@@ -13,11 +13,11 @@ type bookmarksWidget struct {
Title string `yaml:"title"`
Color *hslColorField `yaml:"color"`
Links []struct {
Title string `yaml:"title"`
URL string `yaml:"url"`
Icon customIconField `yaml:"icon"`
SameTab bool `yaml:"same-tab"`
HideArrow bool `yaml:"hide-arrow"`
Title string `yaml:"title"`
URL optionalEnvField `yaml:"url"`
Icon customIconField `yaml:"icon"`
SameTab bool `yaml:"same-tab"`
HideArrow bool `yaml:"hide-arrow"`
} `yaml:"links"`
} `yaml:"groups"`
}