Improve i3status-rs

Reorder sound and improve other stuff.
This commit is contained in:
finga 2021-11-02 20:10:56 +01:00
parent 97dcd23dca
commit d4a93ff109
2 changed files with 10 additions and 11 deletions

View file

@ -18,21 +18,23 @@ display_type = "new"
[[block]] [[block]]
block = "weather" 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" } service = { name = "openweathermap", api_key = "8271cc3c23dbae82eda2123c55c050be", city_id = "2766824", units = "metric" }
[[block]]
block = "sound"
[[block]] [[block]]
block = "music" block = "music"
max_width = 42
marquee_interval = 0 marquee_interval = 0
marquee_speed = 0.3 marquee_speed = 0.3
buttons = ["prev", "play", "next"] max_width = 35
buttons = ["play"]
[[block]] [[block]]
block = "net" block = "net"
device = "enp0s31f6" device = "enp0s31f6"
# format = "{ip} {graph_down} {speed_down} {graph_up} {speed_up}" format = "{ip} {graph_down} {speed_down} {graph_up} {speed_up}"
format = "{graph_down} {speed_down} {graph_up} {speed_up}"
# [[block]] # [[block]]
# block = "disk_space" # block = "disk_space"
@ -87,9 +89,6 @@ block = "load"
interval = 1 interval = 1
format = "{1m} {5m} {15m}" format = "{1m} {5m} {15m}"
[[block]]
block = "sound"
[[block]] [[block]]
block = "time" block = "time"
interval = 1 interval = 1

View file

@ -10,6 +10,9 @@ separator = "|"
separator_fg = "#00cc00" separator_fg = "#00cc00"
separator_bg = "#222222" separator_bg = "#222222"
[[block]]
block = "sound"
[[block]] [[block]]
block = "uptime" block = "uptime"
@ -42,9 +45,6 @@ block = "load"
interval = 1 interval = 1
format = "{1m} {5m} {15m}" format = "{1m} {5m} {15m}"
[[block]]
block = "sound"
[[block]] [[block]]
block = "time" block = "time"
interval = 1 interval = 1