use std::path::PathBuf;
pub mod anim;
pub mod color;
pub mod components;
pub mod cover;
pub mod gradient;
pub mod httpcache;
pub mod liblog;
pub mod lyrics;
pub mod reactive;
pub mod theme;
pub mod util;
#[cfg(all(feature = "mxc", unix))]
pub mod mxc;
#[cfg(feature = "streaming")]
pub mod audio;
#[cfg(feature = "streaming")]
pub mod config;
#[cfg(feature = "streaming")]
pub mod engine;
#[cfg(feature = "streaming")]
pub mod term;
#[cfg(feature = "streaming")]
pub mod webapi;
pub fn home_dir() -> Option<PathBuf> {
#[cfg(unix)]
let var = "HOME";
#[cfg(windows)]
let var = "USERPROFILE";
std::env::var(var).ok().map(PathBuf::from)
}