New Desktop Command //top\\
sudo cp ./target/release/qfetch /usr/local/bin/
By default, look is case-sensitive. If you search for "apple", it will not find "Apple". To ignore case, use the -f flag (fold case). new desktop command
#[derive(Debug)] struct SystemInfo os: String, host: String, kernel: String, uptime: String, shell: String, cpu: String, gpu: String, memory: String, disk: String, resolution: String, desktop: String, sudo cp
The complete piece is ready to compile and run as a new desktop command. sudo cp ./target/release/qfetch /usr/local/bin/ By default
// 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());
You can use the -t flag to specify a termination character. This tells look to stop reading the string at that character.