Skip to main content

detect

Function detect 

Source
pub fn detect(
    system: &dyn System,
    environment: &dyn Fn(&str) -> Option<String>,
) -> Desktop
Expand description

Read the desktop. environment answers for XDG_* variables.