i3status-rs: Update configuration to last version

This commit is contained in:
finga 2022-09-03 23:58:14 +02:00
parent 049f75ca5c
commit ea172a8c6d
2 changed files with 17 additions and 21 deletions

View file

@ -1,7 +1,8 @@
[icons]
icons = "awesome"
[theme]
name = "solarized-dark"
theme = "solarized-dark"
[theme.overrides]
idle_fg = "#00cc00"
@ -18,7 +19,7 @@ display_type = "new"
[[block]]
block = "weather"
format = "{weather} {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]]
@ -26,16 +27,13 @@ block = "sound"
[[block]]
block = "music"
marquee_interval = 1
marquee_speed = 0.3
max_width = 35
format = "$combo.rot-str(30) $play"
player = "mpd"
buttons = ["play"]
[[block]]
block = "net"
device = "enp0s31f6"
format = "{ip} {graph_down} {speed_down} {graph_up} {speed_up}"
format = "$ip $graph_down $speed_down $graph_up $speed_up"
# [[block]]
# block = "disk_space"
@ -65,30 +63,29 @@ format = "{ip} {graph_down} {speed_down} {graph_up} {speed_up}"
[[block]]
block = "memory"
display_type = "memory"
format_mem = "{mem_total_used_percents}"
format_mem = "$mem_total_used_percents.eng(3)"
clickable = false
[[block]]
block = "memory"
display_type = "swap"
format_swap = "{swap_used_percents}"
format_swap = "$swap_used_percents.eng(3)"
clickable = false
[[block]]
block = "cpu"
interval = 1
format = "{barchart} {utilization} {frequency}"
format = "$barchart $utilization $frequency.eng(4)"
[[block]]
block = "temperature"
collapsed = false
format = "{min} min, {max} max, {average} avg"
format = "$min min, $max max, $average avg"
chip = "*-isa-*"
[[block]]
block = "load"
interval = 1
format = "{1m} {5m} {15m}"
format = "$1m.eng(4) $5m.eng(4) $15m.eng(4)"
[[block]]
block = "time"

View file

@ -1,7 +1,8 @@
[icons]
icons = "awesome"
[theme]
name = "solarized-dark"
theme = "solarized-dark"
[theme.overrides]
idle_fg = "#00cc00"
@ -19,31 +20,29 @@ block = "uptime"
[[block]]
block = "memory"
display_type = "memory"
format_mem = "{mem_total_used_percents}"
format_mem = "$mem_total_used_percents.eng(3)"
clickable = false
[[block]]
block = "memory"
display_type = "swap"
format_swap = "{swap_used_percents}"
format_swap = "$swap_used_percents.eng(3)"
clickable = false
[[block]]
block = "cpu"
interval = 1
format = "{frequency}"
format = "$barchart $utilization"
[[block]]
block = "temperature"
collapsed = false
interval = 10
format = "{min} min, {max} max, {average} avg"
format = "$min min, $max max, $average avg"
chip = "*-isa-*"
[[block]]
block = "load"
interval = 1
format = "{1m} {5m} {15m}"
format = "$1m.eng(4) $5m.eng(4) $15m.eng(4)"
[[block]]
block = "time"