Changed Rocket.toml to be example and fixed HDD bars
This commit is contained in:
1 parent
e35a3d2b8d
commit
a0fd3ada07
3 files changed
+4
-2
No files matched your search
@@ -26,6 +26,7 @@ struct DiskInfo {
|
||||
total_space_bytes: u64,
|
||||
available_space: String,
|
||||
available_space_bytes: u64,
|
||||
consumed_space_bytes: u64,
|
||||
mount_point: String,
|
||||
}
|
||||
|
||||
@@ -78,6 +79,7 @@ fn get_system_info() -> SysInfo {
|
||||
total_space_bytes: ts,
|
||||
available_space: Byte::from(ass).to_string(),
|
||||
available_space_bytes: ass,
|
||||
consumed_space_bytes: ts - ass,
|
||||
mount_point: disk.mount_point().display().to_string(),
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user