summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMole Shang <[email protected]>2023-05-01 11:06:55 +0800
committerMole Shang <[email protected]>2023-05-01 11:06:55 +0800
commit3026e4852318c7c5a0af013ea107dd488a191f3a (patch)
treeffff91831d12f686d6c7d675316dc12330d82959
parent4b547fab01f4fa1b24791de81e17dd0ba8c1b21c (diff)
downloaddotfiles-3026e4852318c7c5a0af013ea107dd488a191f3a.tar.gz
dotfiles-3026e4852318c7c5a0af013ea107dd488a191f3a.tar.bz2
dotfiles-3026e4852318c7c5a0af013ea107dd488a191f3a.zip
config/i3status-rust: update to 20230501
i3status-rs 0.31.0 (commit dbf587ea 2023-04-30)
-rw-r--r--config/i3status-rust/config.toml7
1 files changed, 4 insertions, 3 deletions
diff --git a/config/i3status-rust/config.toml b/config/i3status-rust/config.toml
index 9611a8d..2b7696b 100644
--- a/config/i3status-rust/config.toml
+++ b/config/i3status-rust/config.toml
@@ -7,8 +7,8 @@ icons = "awesome5"
[[block]]
block = "memory"
-format = " $icon $mem_used.eng(3,B,M) $mem_used_percents.eng(1) "
-format_alt = " $icon_swap $swap_used.eng(3,B,M) $swap_used_percents.eng(1) "
+format = " $icon $mem_used.eng(w:3,u:B,p:M) $mem_used_percents.eng(w:1) "
+format_alt = " $icon_swap $swap_used.eng(w:3,u:B,p:M) $swap_used_percents.eng(w:1) "
[[block]]
block = "cpu"
@@ -16,6 +16,7 @@ interval = 1
[[block]]
block = "load"
+format = " $icon $1m.eng(w:3) "
interval = 1
[[block]]
@@ -37,5 +38,5 @@ format = " $icon $percentage $time "
block = "time"
interval = 5
[block.format]
-full = " $icon %a %d/%m %R "
+full = " $icon $timestamp.datetime(f:'%a %d/%m %R') "
short = " $icon %R "