pub fn get_log<P: AsRef<Path>>(path: P) -> Box<Path> {
    let file_name = path.as_ref().file_name().unwrap().to_owned();

    let file_name = PathBuf::from(file_name);
    file_name.into_boxed_path()
}
Gets the log file's filename

# Panics
- If HOME is not set
- If path permissions are not at least 0700
leftwm/src/utils/log/file.rs