Add config file loading

This commit is contained in:
JT
2021-10-13 16:57:05 +13:00
parent 97d7157773
commit a760e46c1c
3 changed files with 85 additions and 39 deletions

View File

@ -0,0 +1,9 @@
use std::path::PathBuf;
pub fn home_dir() -> Option<PathBuf> {
dirs_next::home_dir()
}
pub fn config_dir() -> Option<PathBuf> {
dirs_next::config_dir()
}