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

View file

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