nixinfo
pub fn environment() -> Result<String>
Obtains the name of the user's DE or WM, outputs to a string