From 128c917e3fb136f75fb4a86d644d8ce06cf27442 Mon Sep 17 00:00:00 2001 From: Konstantin Koslowski Date: Sat, 27 Mar 2021 15:39:41 +0100 Subject: [PATCH] i3status: update config syntax --- i3status.d/7DPQTN2.toml | 21 ++++----------------- i3status.d/90PKL63.toml | 21 ++++----------------- i3status.d/annoyance.toml | 19 +++---------------- i3status.d/silence.toml | 21 ++++----------------- 4 files changed, 15 insertions(+), 67 deletions(-) diff --git a/i3status.d/7DPQTN2.toml b/i3status.d/7DPQTN2.toml index 3410b68..6a6a97c 100644 --- a/i3status.d/7DPQTN2.toml +++ b/i3status.d/7DPQTN2.toml @@ -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" diff --git a/i3status.d/90PKL63.toml b/i3status.d/90PKL63.toml index 2ec148d..c97f824 100644 --- a/i3status.d/90PKL63.toml +++ b/i3status.d/90PKL63.toml @@ -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" diff --git a/i3status.d/annoyance.toml b/i3status.d/annoyance.toml index 49b3b18..4538968 100644 --- a/i3status.d/annoyance.toml +++ b/i3status.d/annoyance.toml @@ -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" diff --git a/i3status.d/silence.toml b/i3status.d/silence.toml index e6f2092..69f8e8a 100644 --- a/i3status.d/silence.toml +++ b/i3status.d/silence.toml @@ -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"