mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Display firewall status
This commit is contained in:
committed by
Chris Cummer
parent
42ce7f4353
commit
a365c1df96
@@ -68,7 +68,7 @@ func (widget *Widget) contentFrom(data *owm.CurrentWeatherData) string {
|
||||
|
||||
str = str + strings.Join(descs, ",") + "\n\n"
|
||||
|
||||
str = str + fmt.Sprintf("%10s: %4.1f° C\n\n", "Current", data.Main.Temp)
|
||||
str = str + fmt.Sprintf("%10s: %4.1f° C\n", "Current", data.Main.Temp)
|
||||
str = str + fmt.Sprintf("%10s: %4.1f° C\n", "High", data.Main.TempMax)
|
||||
str = str + fmt.Sprintf("%10s: %4.1f° C\n", "Low", data.Main.TempMin)
|
||||
str = str + "\n\n\n\n"
|
||||
@@ -88,7 +88,7 @@ func icon(data *owm.CurrentWeatherData) string {
|
||||
case "clear":
|
||||
icon = "☀️"
|
||||
case "clear sky":
|
||||
icon = "☀️"
|
||||
icon = "☀️ "
|
||||
case "cloudy":
|
||||
icon = "⛅️"
|
||||
case "few clouds":
|
||||
|
||||
Reference in New Issue
Block a user