Skip to main content

xdg_segments_dir

Function xdg_segments_dir 

Source
pub fn xdg_segments_dir(env: &XdgEnv) -> Option<PathBuf>
Expand description

$XDG_CONFIG_HOME/linesmith/segments/ (with $HOME fallback) per the cascade in crate::data_context::xdg::resolve_subdir. None when neither env var is populated.