mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Sleep-based refresh timer for all widgets (don't judge me, it's temporary)
This commit is contained in:
parent
69e0034871
commit
25898dcb24
@ -77,6 +77,8 @@ func icon(data *owm.CurrentWeatherData) string {
|
||||
var icon string
|
||||
|
||||
switch data.Weather[0].Description {
|
||||
case "broken clouds":
|
||||
icon = "☁️"
|
||||
case "clear":
|
||||
icon = "☀️"
|
||||
case "cloudy":
|
||||
|
Loading…
x
Reference in New Issue
Block a user