i3-status-rs: Update configuration to latest version

This commit is contained in:
finga 2022-09-06 16:12:52 +02:00
parent 54766df7a5
commit d72f192308
2 changed files with 15 additions and 16 deletions

View File

@ -1,7 +1,8 @@
[icons]
icons = "awesome"
[theme]
name = "solarized-dark"
theme = "solarized-dark"
[theme.overrides]
idle_fg = "#00cc00"
@ -12,40 +13,37 @@ separator_bg = "#222222"
[[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 = "net"
device = "enp0s3"
format = "{ip} {graph_down} {speed_down} {graph_up} {speed_up}"
format = "$ip $graph_down $speed_down $graph_up $speed_up"
[[block]]
block = "disk_space"
path = "/"
alias = "/"
info_type = "available"
unit = "GB"
interval = 60
warning = 20
format = "{icon} {used}/{total} ({available} free)"
format = "$used/$total ($available free)"
[[block]]
block = "memory"
display_type = "memory"
format_mem = "{mem_used}/{mem_total}({mem_used_percents})"
format_mem = "$mem_used/$mem_total ($mem_used_percents.eng(3))"
clickable = false
[[block]]
block = "memory"
display_type = "swap"
format_swap = "{swap_used}/{swap_total}({swap_used_percents})"
format_swap = "$swap_used/$swap_total ($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"
@ -59,7 +57,7 @@ format = "{barchart} {utilization} {frequency}"
[[block]]
block = "load"
interval = 1
format = "{1m} {5m} {15m}"
format = "$1m.eng(4) $5m.eng(4) $15m.eng(4)"
#[[block]]
#block = "sound"

View File

@ -1,7 +1,8 @@
[icons]
icons = "awesome"
[theme]
name = "solarized-dark"
theme = "solarized-dark"
[theme.overrides]
idle_fg = "#00cc00"
@ -16,19 +17,19 @@ block = "uptime"
[[block]]
block = "memory"
display_type = "memory"
format_mem = "{mem_used}/{mem_total}({mem_used_percents})"
format_mem = "$mem_used/$mem_total ($mem_used_percents.eng(3))"
clickable = false
[[block]]
block = "memory"
display_type = "swap"
format_swap = "{swap_used}/{swap_total}({swap_used_percents})"
format_swap = "$swap_used/$swap_total ($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"
@ -40,7 +41,7 @@ format = "{barchart} {utilization} {frequency}"
[[block]]
block = "load"
interval = 1
format = "{1m} {5m} {15m}"
format = "$1m.eng(4) $5m.eng(4) $15m.eng(4)"
[[block]]
block = "time"