Add weather to i3-status-rs
This commit is contained in:
parent
d85f425c84
commit
b6124d8e0c
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue