mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-12-18 22:33:55 +01:00
i3status: fix free ram
This commit is contained in:
parent
be25605c01
commit
bc7b64b5b4
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ pub(crate) async fn ram(bar: Arc<RwLock<Bar>>) {
|
|||
ram = format!(
|
||||
"{}MB/{}MB",
|
||||
mem.used().get::<megabyte>(),
|
||||
mem.free().get::<megabyte>()
|
||||
mem.available().get::<megabyte>()
|
||||
);
|
||||
} else {
|
||||
ram = String::from("error reading ram :(");
|
||||
|
|
Loading…
Reference in a new issue