From d4a93ff1095dd642c21fa53499be215e4df11779 Mon Sep 17 00:00:00 2001 From: finga Date: Tue, 2 Nov 2021 20:10:56 +0100 Subject: [PATCH] Improve i3status-rs Reorder sound and improve other stuff. --- .config/i3/status-rs.toml | 15 +++++++-------- .config/i3/status-rs_sec.toml | 6 +++--- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/.config/i3/status-rs.toml b/.config/i3/status-rs.toml index 47cb82f..9379fe2 100644 --- a/.config/i3/status-rs.toml +++ b/.config/i3/status-rs.toml @@ -18,21 +18,23 @@ display_type = "new" [[block]] block = "weather" -format = "{weather} ({location}) {temp}°, {humidity}%, {wind}m/s {direction}" +format = "{weather} {temp}°, {humidity}%, {wind}m/s {direction}" service = { name = "openweathermap", api_key = "8271cc3c23dbae82eda2123c55c050be", city_id = "2766824", units = "metric" } +[[block]] +block = "sound" + [[block]] block = "music" -max_width = 42 marquee_interval = 0 marquee_speed = 0.3 -buttons = ["prev", "play", "next"] +max_width = 35 +buttons = ["play"] [[block]] block = "net" device = "enp0s31f6" -# format = "{ip} {graph_down} {speed_down} {graph_up} {speed_up}" -format = "{graph_down} {speed_down} {graph_up} {speed_up}" +format = "{ip} {graph_down} {speed_down} {graph_up} {speed_up}" # [[block]] # block = "disk_space" @@ -87,9 +89,6 @@ block = "load" interval = 1 format = "{1m} {5m} {15m}" -[[block]] -block = "sound" - [[block]] block = "time" interval = 1 diff --git a/.config/i3/status-rs_sec.toml b/.config/i3/status-rs_sec.toml index b53ffe5..90fd033 100644 --- a/.config/i3/status-rs_sec.toml +++ b/.config/i3/status-rs_sec.toml @@ -10,6 +10,9 @@ separator = "|" separator_fg = "#00cc00" separator_bg = "#222222" +[[block]] +block = "sound" + [[block]] block = "uptime" @@ -42,9 +45,6 @@ block = "load" interval = 1 format = "{1m} {5m} {15m}" -[[block]] -block = "sound" - [[block]] block = "time" interval = 1