rustftechh 0.1.1

A blazingly fast, highly extensible, and feature-rich system information tool written in Rust with fastfetch parity and multi-distro logos
1
2
3
4
5
6
use super::sysctl;
use crate::utils::clean;

pub fn detect_host() -> Option<String> {
    sysctl::sysctl_string("hw.model").map(|m| clean(&m))
}