mirror of
				https://github.com/NotAShelf/microfetch.git
				synced 2025-11-04 07:32:20 +00:00 
			
		
		
		
	speeding it up
This commit is contained in:
		
					parent
					
						
							
								ef2f6dc56e
							
						
					
				
			
			
				commit
				
					
						81cdc0a281
					
				
			
		
					 5 changed files with 24 additions and 70 deletions
				
			
		| 
						 | 
				
			
			@ -4,7 +4,7 @@ mod release;
 | 
			
		|||
mod system;
 | 
			
		||||
mod uptime;
 | 
			
		||||
 | 
			
		||||
use color_eyre::{Report, Result};
 | 
			
		||||
use nix::sys::sysinfo::sysinfo;
 | 
			
		||||
 | 
			
		||||
use crate::colors::{BLUE, CYAN, RESET};
 | 
			
		||||
use crate::desktop::get_desktop_info;
 | 
			
		||||
| 
						 | 
				
			
			@ -32,8 +32,6 @@ fn main() -> Result<(), Report> {
 | 
			
		|||
        &memory_usage,
 | 
			
		||||
        &storage,
 | 
			
		||||
    );
 | 
			
		||||
 | 
			
		||||
    Ok(())
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
fn print_system_info(
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue