pretty disk str

This commit is contained in:
xqtc 2025-04-07 21:14:57 +02:00
parent c2598f3d26
commit 14c54e1be4
Signed by: xqtc
GPG key ID: 2C064D095926D9D1

View file

@ -35,7 +35,7 @@ fn main() -> Result<(), Box<dyn Error>> {
let avail_space = disk.available_space();
disk_str.push_str(
format!(
"{}:{}/{}GB",
"DISK {}:{}/{}GB",
m,
avail_space / 1073741824,
total_space / 1073741824