Adapt i3-status-rs config to current version

This commit is contained in:
finga 2020-10-24 11:17:24 +02:00
parent c15f56b1cc
commit 3aea5c709e
2 changed files with 30 additions and 6 deletions

View file

@ -26,11 +26,33 @@ buttons = ["prev", "play", "next"]
[[block]] [[block]]
block = "net" block = "net"
device = "enp0s31f6" device = "enp0s31f6"
ip = true # format = "{ip} {graph_down} {speed_down} {graph_up} {speed_up}"
graph_up = true format = "{graph_down} {speed_down} {graph_up} {speed_up}"
graph_down = true
interval = 5 # [[block]]
hide_inactive = false # block = "disk_space"
# path = "/"
# info_type = "used"
# format = "{path} {percentage}"
# [[block]]
# block = "disk_space"
# path = "/home"
# info_type = "used"
# format = "{path} {percentage}"
# [[block]]
# block = "disk_space"
# path = "/var"
# info_type = "used"
# warning = 20.0
# format = "{path} {percentage}"
# [[block]]
# block = "disk_space"
# path = "/tmp"
# info_type = "used"
# format = "{path} {percentage}"
[[block]] [[block]]
block = "memory" block = "memory"
@ -52,7 +74,6 @@ format = "{barchart} {utilization}% {frequency}GHz"
[[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-*"

View file

@ -10,6 +10,9 @@ separator = "|"
separator_fg = "#00cc00" separator_fg = "#00cc00"
separator_bg = "#222222" separator_bg = "#222222"
[[block]]
block = "uptime"
[[block]] [[block]]
block = "memory" block = "memory"
display_type = "memory" display_type = "memory"