i3status: update config syntax

This commit is contained in:
Konstantin Koslowski 2021-03-27 15:39:41 +01:00
parent 0c56eceb56
commit 128c917e3f
4 changed files with 15 additions and 67 deletions

View file

@ -7,12 +7,12 @@ name = "material"
[[block]]
block = "cpu"
interval = 1
format = "{barchart} {utilization}%"
format = "{barchart} {utilization}"
[[block]]
block = "memory"
format_mem = "{Mug}/{MTg}GB ({Mup}%)"
format_swap = "{SUm}MB/{STm}MB({SUp}%)"
format_mem = "{mem_used}/{mem_total}GB ({mem_used_percents})"
format_swap = "{swap_used}MB/{swap_total}MB({swap_used_percents})"
display_type = "memory"
icons = true
clickable = true
@ -22,19 +22,6 @@ warning_swap = 80
critical_mem = 95
critical_swap = 95
# [[block]]
# block = "memory"
# format_mem = "{Mug}/{MTg}GB ({Mup}%)"
# format_swap = "{SUg}/{STg}GB ({SUp}%)"
# display_type = "swap"
# icons = true
# clickable = true
# interval = 5
# warning_mem = 80
# warning_swap = 80
# critical_mem = 95
# critical_swap = 95
[[block]]
block = "networkmanager"
on_click = "termite -t nmtui -e nmtui"
@ -61,7 +48,7 @@ on_collapsed_click = "Plexamp.AppImage"
[[block]]
block = "battery"
interval = 10
format = "{percentage}% {time}"
format = "{percentage} {time}"
[[block]]
block = "weather"

View file

@ -7,12 +7,12 @@ name = "material"
[[block]]
block = "cpu"
interval = 1
format = "{barchart} {utilization}%"
format = "{barchart} {utilization}"
[[block]]
block = "memory"
format_mem = "{Mug}/{MTg}GB ({Mup}%)"
format_swap = "{SUm}MB/{STm}MB({SUp}%)"
format_mem = "{mem_used}/{mem_total}GB ({mem_used_percents})"
format_swap = "{swap_used}MB/{swap_total}MB({swap_used_percents})"
display_type = "memory"
icons = true
clickable = true
@ -22,19 +22,6 @@ warning_swap = 80
critical_mem = 95
critical_swap = 95
# [[block]]
# block = "memory"
# format_mem = "{Mug}/{MTg}GB ({Mup}%)"
# format_swap = "{SUg}/{STg}GB ({SUp}%)"
# display_type = "swap"
# icons = true
# clickable = true
# interval = 5
# warning_mem = 80
# warning_swap = 80
# critical_mem = 95
# critical_swap = 95
[[block]]
block = "networkmanager"
on_click = "termite -t nmtui -e nmtui"
@ -61,7 +48,7 @@ on_collapsed_click = "Plexamp.AppImage"
[[block]]
block = "battery"
interval = 10
format = "{percentage}% {time}"
format = "{percentage} {time}"
[[block]]
block = "weather"

View file

@ -7,12 +7,12 @@ name = "material"
[[block]]
block = "cpu"
interval = 1
format = "{barchart} {utilization}%"
format = "{barchart} {utilization}"
[[block]]
block = "memory"
format_mem = "{Mug}/{MTg}GB ({Mup}%)"
format_swap = "{SUm}MB/{STm}MB({SUp}%)"
format_mem = "{mem_used}/{mem_total}GB ({mem_used_percents})"
format_swap = "{swap_used}MB/{swap_total}MB({swap_used_percents})"
display_type = "memory"
icons = true
clickable = true
@ -22,19 +22,6 @@ warning_swap = 80
critical_mem = 95
critical_swap = 95
# [[block]]
# block = "memory"
# format_mem = "{Mug}/{MTg}GB ({Mup}%)"
# format_swap = "{SUg}/{STg}GB ({SUp}%)"
# display_type = "swap"
# icons = true
# clickable = true
# interval = 5
# warning_mem = 80
# warning_swap = 80
# critical_mem = 95
# critical_swap = 95
[[block]]
block = "networkmanager"
on_click = "termite -t nmtui -e nmtui"

View file

@ -7,12 +7,12 @@ name = "material"
[[block]]
block = "cpu"
interval = 1
format = "{barchart} {utilization}%"
format = "{barchart} {utilization}"
[[block]]
block = "memory"
format_mem = "{Mug}/{MTg}GB ({Mup}%)"
format_swap = "{SUm}MB/{STm}MB({SUp}%)"
format_mem = "{mem_used}/{mem_total}GB ({mem_used_percents})"
format_swap = "{swap_used}MB/{swap_total}MB({swap_used_percents})"
display_type = "memory"
icons = true
clickable = true
@ -22,19 +22,6 @@ warning_swap = 80
critical_mem = 95
critical_swap = 95
# [[block]]
# block = "memory"
# format_mem = "{Mug}/{MTg}GB ({Mup}%)"
# format_swap = "{SUg}/{STg}GB ({SUp}%)"
# display_type = "swap"
# icons = true
# clickable = true
# interval = 5
# warning_mem = 80
# warning_swap = 80
# critical_mem = 95
# critical_swap = 95
[[block]]
block = "networkmanager"
on_click = "termite -t nmtui -e nmtui"
@ -55,7 +42,7 @@ on_collapsed_click = "Plexamp.AppImage"
[[block]]
block = "battery"
interval = 10
format = "{percentage}% {time}"
format = "{percentage} {time}"
[[block]]
block = "weather"