greshake / i3status-rust

Very resourcefriendly and feature-rich replacement for i3status, written in pure Rust
GNU General Public License v3.0
2.85k stars 470 forks source link

weather block: invalid type map expected variant identifier #1887

Closed ubuntupunk closed 1 year ago

ubuntupunk commented 1 year ago

not sure why this is happening, I have the following config:

[[block]]
block = "weather"
format = " $icon $weather ($location) $temp, $wind m/s $direction "
[[block.service]]
name = "openweathermap"
api_key = "mykey"
city_id = "3369157"
place = "Cape Town"
coordinates = ["18.4241", -33,92584]
units = "metric"

version: i3status-rs v0.31.0

MaxVerevkin commented 1 year ago

[[block.service]]

This should be [block.service]. The error message is pretty weird though.

coordinates = ["18.4241", -33,92584]

coordinates = ["18.4241", "-33,92584"]