Add weather to i3-status-rs

This commit is contained in:
finga 2021-03-12 10:38:39 +01:00
parent d85f425c84
commit b6124d8e0c

View file

@ -16,6 +16,11 @@ interval = 15
inboxes = ["/home/finga/mail/onders.org/Inbox"] inboxes = ["/home/finga/mail/onders.org/Inbox"]
display_type = "new" display_type = "new"
[[block]]
block = "weather"
format = "{weather} ({location}) {temp}°, {humidity}%, {wind}m/s {direction}"
service = { name = "openweathermap", api_key = "8271cc3c23dbae82eda2123c55c050be", city_id = "2766824", units = "metric" }
[[block]] [[block]]
block = "music" block = "music"
max_width = 42 max_width = 42