Move archive count to Usage line in backup display
This commit is contained in:
@@ -544,9 +544,6 @@ impl SystemWidget {
|
||||
details.push(format!("W: {}%", wear as i32));
|
||||
}
|
||||
|
||||
// Add archive count
|
||||
details.push(format!("Archives: {}", disk.total_archives));
|
||||
|
||||
let disk_text = if !details.is_empty() {
|
||||
format!("{} {}", truncated_serial, details.join(" "))
|
||||
} else {
|
||||
@@ -568,9 +565,10 @@ impl SystemWidget {
|
||||
lines.push(Line::from(time_spans));
|
||||
}
|
||||
|
||||
// Show usage with status
|
||||
// Show usage with status and archive count
|
||||
let usage_text = format!(
|
||||
"Usage: {:.0}% {:.0}GB/{:.0}GB",
|
||||
"Usage: ({}) {:.0}% {:.0}GB/{:.0}GB",
|
||||
disk.total_archives,
|
||||
disk.disk_usage_percent,
|
||||
disk.disk_used_gb,
|
||||
disk.disk_total_gb
|
||||
|
||||
Reference in New Issue
Block a user