fn session_is_running(leftwm_session: &mut Child) -> bool {
    leftwm_session
        .try_wait()
        .expect("failed to wait on worker")
        .is_none()
}
checks if leftwm is still running
leftwm/src/bin/leftwm.rs