From d119cea3763977801ad66330668c1ab4346cb7f7 Mon Sep 17 00:00:00 2001 From: Yt Date: Thu, 3 Mar 2022 22:32:59 -0500 Subject: [PATCH] i3status-rust: change default to newer version (#2774) --- modules/programs/i3status-rust.nix | 4 ++-- tests/modules/programs/i3status-rust/with-default.nix | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/programs/i3status-rust.nix b/modules/programs/i3status-rust.nix index 69785fea..33f2b146 100644 --- a/modules/programs/i3status-rust.nix +++ b/modules/programs/i3status-rust.nix @@ -144,8 +144,8 @@ in { { block = "memory"; display_type = "memory"; - format_mem = "{Mup}%"; - format_swap = "{SUp}%"; + format_mem = "{mem_used_percents}"; + format_swap = "{swap_used_percents}"; } { block = "cpu"; diff --git a/tests/modules/programs/i3status-rust/with-default.nix b/tests/modules/programs/i3status-rust/with-default.nix index 4a0d4a4c..9fdda7e8 100644 --- a/tests/modules/programs/i3status-rust/with-default.nix +++ b/tests/modules/programs/i3status-rust/with-default.nix @@ -28,8 +28,8 @@ with lib; [[block]] block = "memory" display_type = "memory" - format_mem = "{Mup}%" - format_swap = "{SUp}%" + format_mem = "{mem_used_percents}" + format_swap = "{swap_used_percents}" [[block]] block = "cpu"