mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-12-19 22:13:43 +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!(
|
ram = format!(
|
||||||
"{}MB/{}MB",
|
"{}MB/{}MB",
|
||||||
mem.used().get::<megabyte>(),
|
mem.used().get::<megabyte>(),
|
||||||
mem.free().get::<megabyte>()
|
mem.available().get::<megabyte>()
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
ram = String::from("error reading ram :(");
|
ram = String::from("error reading ram :(");
|
||||||
|
|
Loading…
Reference in a new issue