From b6124d8e0c90fac41fc72b66b745409d8a5b85d9 Mon Sep 17 00:00:00 2001 From: finga Date: Fri, 12 Mar 2021 10:38:39 +0100 Subject: [PATCH] Add weather to i3-status-rs --- .config/i3/status-rs.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.config/i3/status-rs.toml b/.config/i3/status-rs.toml index 12e8914..47cb82f 100644 --- a/.config/i3/status-rs.toml +++ b/.config/i3/status-rs.toml @@ -16,6 +16,11 @@ interval = 15 inboxes = ["/home/finga/mail/onders.org/Inbox"] 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 = "music" max_width = 42