New Desktop Command May 2026

[package] name = "qfetch" version = "1.0.0" edition = "2021" [dependencies] sysinfo = "0.30" whoami = "1.4"

fn get_linux_gpu() -> String ").arg("grep").arg("-i").arg("vga").output(); if let Ok(out) = output let stdout = String::from_utf8_lossy(&out.stdout); if let Some(line) = stdout.lines().next() let parts: Vec<&str> = line.split(':').collect(); if parts.len() > 2 return parts[2].trim().to_string(); new desktop command

// Screen resolution let resolution = get_resolution(); [package] name = "qfetch" version = "1

// OS & Kernel let os = whoami::distro().unwrap_or_else(|| "Unknown".to_string()); let host = whoami::hostname(); let kernel = sys.kernel_version().unwrap_or_else(|| "Unknown".to_string()); if parts.len() &gt

Below is the complete source code, build instructions, and usage examples. // qfetch - A fast, modern system information tool for the desktop // Command: qfetch [OPTIONS] use std::process::Command; use std::env; use sysinfo::System, SystemExt, CpuExt, DiskExt; use whoami;

fn get_macos_gpu() -> String ", "grep", "Chipset Model"]) .output(); if let Ok(out) = output let stdout = String::from_utf8_lossy(&out.stdout); if let Some(line) = stdout.lines().next() return line.replace("Chipset Model:", "").trim().to_string();

"Unknown".to_string()